Method |
Description |
|
__clone ( ) |
|
|
__construct ( $name, $metadata, $defaultTypeName, $mandatory = false, $multilingual = false, $maxOccurs = 1, $minOccurs = 1, $params = [], $tags = [], $col = null ) |
|
|
addType ( BlockPropertyType $type ) |
adds a type. |
|
clearProperties ( ) |
clears all initialized properties. |
|
doSetValue ( $value ) |
Sub properties need to be referenced to the PropertyValue so
that the "real" property is updated. |
|
getChildProperties ( string $typeName ) : Sulu\Component\Content\Compat\PropertyInterface[] |
returns child properties of given Type. |
|
getDefaultTypeName ( ) : string |
return default type name. |
|
getIsBlock ( ) : boolean |
returns TRUE if property is a block. |
|
getLength ( ) : integer |
Returns sizeof block. |
|
getProperties ( integer $index ) : BlockPropertyType |
returns properties for given index. |
|
getType ( string $name ) : BlockPropertyType |
returns type with given name. |
|
getTypes ( ) : BlockPropertyType[] |
returns a list of properties managed by this block. |
|
getValue ( ) : array | mixed |
get value of sub properties. |
|
initProperties ( integer $index, string $typeName ) : BlockPropertyType |
initiate new child with given type name. |
|
setPropertyValue ( PropertyValue $value ) |
|
|
setValue ( mixed $value ) |
set value of child properties. |
|