PHP Class Sulu\Component\Content\Compat\Block\BlockPropertyType

Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__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

Method Details

__clone() public méthode

public __clone ( )

__construct() public méthode

public __construct ( $name, $metadata )

addChild() public méthode

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

getChild() public méthode

returns property with given name.
public getChild ( string $name ) : Sulu\Component\Content\Compat\PropertyInterface
$name string of property
Résultat Sulu\Component\Content\Compat\PropertyInterface

getChildProperties() public méthode

returns a list of properties managed by this block.
public getChildProperties ( ) : Sulu\Component\Content\Compat\PropertyInterface[]
Résultat Sulu\Component\Content\Compat\PropertyInterface[]

getMetadata() public méthode

public getMetadata ( ) : Metadata
Résultat Sulu\Component\Content\Compat\Metadata

getName() public méthode

public getName ( ) : string
Résultat string

getProperty() public méthode

returns child property with given name.
public getProperty ( string $name ) : null | Sulu\Component\Content\Compat\PropertyInterface
$name string
Résultat null | Sulu\Component\Content\Compat\PropertyInterface

getTitle() public méthode

public getTitle ( string $languageCode ) : string
$languageCode string
Résultat string