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

显示文件 Open project: sulu/sulu Class Usage Examples

Public Methods

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

public __clone ( )

__construct() public method

public __construct ( $name, $metadata )

addChild() public method

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

getChild() public method

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

getChildProperties() public method

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

getMetadata() public method

public getMetadata ( ) : Metadata
return Sulu\Component\Content\Compat\Metadata

getName() public method

public getName ( ) : string
return string

getProperty() public method

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

getTitle() public method

public getTitle ( string $languageCode ) : string
$languageCode string
return string