PHP Класс Sulu\Component\Content\Repository\Content

Наследование: implements ArrayAccess
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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 )

Описание методов

__construct() публичный Метод

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 getChildren ( ) : Content[]
Результат Content[]

getConcreteLanguages() публичный Метод

public getConcreteLanguages ( ) : string[]
Результат string[]

getData() публичный Метод

public getData ( ) : array
Результат array

getId() публичный Метод

public getId ( ) : string
Результат string

getLocale() публичный Метод

public getLocale ( ) : string
Результат string

getLocalizationType() публичный Метод

public getLocalizationType ( ) : StructureType
Результат Sulu\Component\Content\Compat\StructureType

getMapping() публичный Метод

public getMapping ( ) : string[]
Результат string[]

getNodeType() публичный Метод

public getNodeType ( ) : integer
Результат integer

getPath() публичный Метод

public getPath ( ) : string
Результат string

getPermissions() публичный Метод

public getPermissions ( ) : array
Результат array

getPropertyWithDefault() публичный Метод

Returns value for given property or given default.
public getPropertyWithDefault ( string $name, mixed $default = null ) : mixed
$name string
$default mixed
Результат mixed

getRow() публичный Метод

public getRow ( ) : Row
Результат Jackalope\Query\Row

getUrl() публичный Метод

public getUrl ( ) : string
Результат string

getUrls() публичный Метод

public getUrls ( ) : string[]
Результат string[]

getWebspaceKey() публичный Метод

public getWebspaceKey ( ) : string
Результат string

getWorkflowStage() публичный Метод

public getWorkflowStage ( ) : integer
Результат integer

hasChildren() публичный Метод

public hasChildren ( ) : boolean
Результат boolean

offsetExists() публичный Метод

public offsetExists ( $offset )

offsetGet() публичный Метод

public offsetGet ( $offset )

offsetSet() публичный Метод

public offsetSet ( $offset, $value )

offsetUnset() публичный Метод

public offsetUnset ( $offset )

setChildren() публичный Метод

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

setConcreteLanguages() публичный Метод

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

setDataProperty() публичный Метод

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

setRow() публичный Метод

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

setUrl() публичный Метод

public setUrl ( string $url )
$url string

setUrls() публичный Метод

public setUrls ( array $urls )
$urls array