Méthode |
Description |
|
__clone ( ) |
|
|
__construct ( $name, $metaData, $contentTypeName, $mandatory = false, $multilingual = true, $maxOccurs = 1, $minOccurs = 1, $params = [], $tags = [], $col = null ) |
|
|
__get ( $property ) |
magic getter for twig templates. |
|
addTag ( PropertyTag $tag ) : PropertyTag |
add a property tag. |
|
getColspan ( ) : string |
returns column span. |
|
getContentTypeName ( ) : string |
returns name of content type. |
|
getInfoText ( string $languageCode ) : string |
returns infoText of property. |
|
getIsBlock ( ) : boolean |
returns TRUE if property is a block. |
|
getIsMultiple ( ) : boolean |
returns TRUE if property is multiple. |
|
getMandatory ( ) : boolean |
returns field is mandatory. |
|
getMaxOccurs ( ) : integer |
return max occurs. |
|
getMetadata ( ) : Metadata |
|
|
getMinOccurs ( ) : integer |
return min occurs. |
|
getMultilingual ( ) : boolean |
returns field is multilingual. |
|
getName ( ) : string |
returns name of template. |
|
getParams ( ) : array |
parameter of property. |
|
getPlaceholder ( string $languageCode ) : string |
returns placeholder of property. |
|
getStructure ( ) : Sulu\Component\Content\Compat\StructureInterface |
returns structure. |
|
getTag ( string $tagName ) : PropertyTag |
returns tag with given name. |
|
getTags ( ) : PropertyTag[] |
returns tags defined in xml. |
|
getTitle ( string $languageCode ) : string |
returns title of property. |
|
getValue ( ) : mixed |
gets the value from property. |
|
hasTag ( $tagName ) : boolean |
return true if a tag with the given name exists. |
|
isMandatory ( ) : boolean |
returns mandatory. |
|
isMultilingual ( ) : boolean |
returns multilingual. |
|
jsonSerialize ( ) |
|
|
setPropertyValue ( PropertyValue $propertyValue ) |
|
|
setStructure ( Sulu\Component\Content\Compat\StructureInterface $structure ) |
|
|
setValue ( mixed $value ) |
sets the value from property. |
|
setValueByReference ( &$value ) |
|
|
toArray ( $depth = null ) |
|
|