PHP Класс Sulu\Component\Content\Compat\Block\BlockPropertyType

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

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

Метод Описание
__clone ( )
__construct ( $name, $metadata )
addChild ( Sulu\Component\Content\Compat\PropertyInterface $property )
getChild ( string $name ) : Sulu\Component\Content\Compat\PropertyInterface returns property with given name.
getChildProperties ( ) : Sulu\Component\Content\Compat\PropertyInterface[] returns a list of properties managed by this block.
getMetadata ( ) : Metadata
getName ( ) : string
getProperty ( string $name ) : null | Sulu\Component\Content\Compat\PropertyInterface returns child property with given name.
getTitle ( string $languageCode ) : string

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

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

public __clone ( )

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

public __construct ( $name, $metadata )

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

public addChild ( Sulu\Component\Content\Compat\PropertyInterface $property )
$property Sulu\Component\Content\Compat\PropertyInterface

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

returns property with given name.
public getChild ( string $name ) : Sulu\Component\Content\Compat\PropertyInterface
$name string of property
Результат Sulu\Component\Content\Compat\PropertyInterface

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

returns a list of properties managed by this block.
public getChildProperties ( ) : Sulu\Component\Content\Compat\PropertyInterface[]
Результат Sulu\Component\Content\Compat\PropertyInterface[]

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

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

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

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

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

returns child property with given name.
public getProperty ( string $name ) : null | Sulu\Component\Content\Compat\PropertyInterface
$name string
Результат null | Sulu\Component\Content\Compat\PropertyInterface

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

public getTitle ( string $languageCode ) : string
$languageCode string
Результат string