PHP Class Sulu\Component\Content\Repository\Content

Inheritance: implements ArrayAccess
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $locale, $webspaceKey, $id, $path, $workflowStage, $nodeType, $hasChildren, array $data, array $permissions, StructureType $localizationType = null )
getChildren ( ) : Content[]
getConcreteLanguages ( ) : string[]
getData ( ) : array
getId ( ) : string
getLocale ( ) : string
getLocalizationType ( ) : StructureType
getMapping ( ) : string[]
getNodeType ( ) : integer
getPath ( ) : string
getPermissions ( ) : array
getPropertyWithDefault ( string $name, mixed $default = null ) : mixed Returns value for given property or given default.
getRow ( ) : Row
getUrl ( ) : string
getUrls ( ) : string[]
getWebspaceKey ( ) : string
getWorkflowStage ( ) : integer
hasChildren ( ) : boolean
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
setChildren ( Content[] $children )
setConcreteLanguages ( string[] $concreteLanguages )
setDataProperty ( string $propertyName, mixed $value )
setRow ( Row $row )
setUrl ( string $url )
setUrls ( array $urls )

Method Details

__construct() public méthode

public __construct ( $locale, $webspaceKey, $id, $path, $workflowStage, $nodeType, $hasChildren, array $data, array $permissions, StructureType $localizationType = null )
$data array
$permissions array
$localizationType Sulu\Component\Content\Compat\StructureType

getChildren() public méthode

public getChildren ( ) : Content[]
Résultat Content[]

getConcreteLanguages() public méthode

public getConcreteLanguages ( ) : string[]
Résultat string[]

getData() public méthode

public getData ( ) : array
Résultat array

getId() public méthode

public getId ( ) : string
Résultat string

getLocale() public méthode

public getLocale ( ) : string
Résultat string

getLocalizationType() public méthode

public getLocalizationType ( ) : StructureType
Résultat Sulu\Component\Content\Compat\StructureType

getMapping() public méthode

public getMapping ( ) : string[]
Résultat string[]

getNodeType() public méthode

public getNodeType ( ) : integer
Résultat integer

getPath() public méthode

public getPath ( ) : string
Résultat string

getPermissions() public méthode

public getPermissions ( ) : array
Résultat array

getPropertyWithDefault() public méthode

Returns value for given property or given default.
public getPropertyWithDefault ( string $name, mixed $default = null ) : mixed
$name string
$default mixed
Résultat mixed

getRow() public méthode

public getRow ( ) : Row
Résultat Jackalope\Query\Row

getUrl() public méthode

public getUrl ( ) : string
Résultat string

getUrls() public méthode

public getUrls ( ) : string[]
Résultat string[]

getWebspaceKey() public méthode

public getWebspaceKey ( ) : string
Résultat string

getWorkflowStage() public méthode

public getWorkflowStage ( ) : integer
Résultat integer

hasChildren() public méthode

public hasChildren ( ) : boolean
Résultat boolean

offsetExists() public méthode

public offsetExists ( $offset )

offsetGet() public méthode

public offsetGet ( $offset )

offsetSet() public méthode

public offsetSet ( $offset, $value )

offsetUnset() public méthode

public offsetUnset ( $offset )

setChildren() public méthode

public setChildren ( Content[] $children )
$children Content[]

setConcreteLanguages() public méthode

public setConcreteLanguages ( string[] $concreteLanguages )
$concreteLanguages string[]

setDataProperty() public méthode

public setDataProperty ( string $propertyName, mixed $value )
$propertyName string
$value mixed

setRow() public méthode

public setRow ( Row $row )
$row Jackalope\Query\Row

setUrl() public méthode

public setUrl ( string $url )
$url string

setUrls() public méthode

public setUrls ( array $urls )
$urls array