PHP Class Sulu\Component\Content\Repository\Content

Inheritance: implements ArrayAccess
Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method 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 method

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 method

public getChildren ( ) : Content[]
return Content[]

getConcreteLanguages() public method

public getConcreteLanguages ( ) : string[]
return string[]

getData() public method

public getData ( ) : array
return array

getId() public method

public getId ( ) : string
return string

getLocale() public method

public getLocale ( ) : string
return string

getLocalizationType() public method

public getLocalizationType ( ) : StructureType
return Sulu\Component\Content\Compat\StructureType

getMapping() public method

public getMapping ( ) : string[]
return string[]

getNodeType() public method

public getNodeType ( ) : integer
return integer

getPath() public method

public getPath ( ) : string
return string

getPermissions() public method

public getPermissions ( ) : array
return array

getPropertyWithDefault() public method

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

getRow() public method

public getRow ( ) : Row
return Jackalope\Query\Row

getUrl() public method

public getUrl ( ) : string
return string

getUrls() public method

public getUrls ( ) : string[]
return string[]

getWebspaceKey() public method

public getWebspaceKey ( ) : string
return string

getWorkflowStage() public method

public getWorkflowStage ( ) : integer
return integer

hasChildren() public method

public hasChildren ( ) : boolean
return boolean

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

setChildren() public method

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

setConcreteLanguages() public method

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

setDataProperty() public method

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

setRow() public method

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

setUrl() public method

public setUrl ( string $url )
$url string

setUrls() public method

public setUrls ( array $urls )
$urls array