Méthode |
Description |
|
copyFrom ( Sulu\Component\Content\Compat\StructureInterface $structure ) |
Copy static values from another structure. |
|
getChanged ( ) : DateTime |
returns changed DateTime. |
|
getChanger ( ) : integer |
returns user id of changer. |
|
getChildren ( ) : Sulu\Component\Content\Compat\StructureInterface[] |
returns children array. |
|
getCreated ( ) : DateTime |
return created datetime. |
|
getCreator ( ) : integer |
gets user id of creator. |
|
getHasChildren ( ) : boolean |
returns true if node has children. |
|
getHasTranslation ( ) : boolean |
return true if structure translation is valid. |
|
getKey ( ) : string |
key of template definition. |
|
getLanguageCode ( ) : string |
returns language of node. |
|
getLocalizedTitle ( string $languageCode ) : string |
returns title of property. |
|
getNodeName ( ) : string |
returns node name addicted to the type. |
|
getNodeState ( ) : integer |
return the published status of the node. |
|
getNodeType ( ) : integer |
|
|
getPath ( ) : string |
return the node path. |
|
getProperties ( boolean $flatten = false ) : Sulu\Component\Content\Compat\PropertyInterface[] |
returns an array of properties. |
|
getPropertiesByTagName ( string $tagName ) : Sulu\Component\Content\Compat\PropertyInterface[] |
returns properties with given tag name sorted by priority. |
|
getProperty ( $name ) : Sulu\Component\Content\Compat\PropertyInterface |
returns a property instance with given name. |
|
getPropertyByTagName ( string $tagName, $highest = true ) : Sulu\Component\Content\Compat\PropertyInterface |
returns a property instance with given tag name. |
|
getPropertyNames ( ) : array |
returns all property names. |
|
getPropertyValue ( $name ) : mixed |
return value of property with given name. |
|
getPropertyValueByTagName ( string $tagName ) : mixed |
returns value of property with given tag name. |
|
getPublished ( ) : DateTime |
returns first published date. |
|
getPublishedState ( ) : boolean |
returns true if state of site is "published". |
|
getType ( ) : StructureType |
Return type of structure. |
|
getUuid ( ) : integer |
id of node. |
|
getWebspaceKey ( ) : string |
returns webspace of node. |
|
hasProperty ( string $name ) : boolean |
checks if a property exists. |
|
hasTag ( string $tag ) : boolean |
indicates tag exists. |
|
setChanged ( DateTime $changed ) |
sets changed datetime. |
|
setChanger ( $userId ) |
sets user id of changer. |
|
setChildren ( Sulu\Component\Content\Compat\StructureInterface[] $children ) |
|
|
setCreated ( DateTime $created ) |
sets created datetime. |
|
setCreator ( $userId ) |
sets user id of creator. |
|
setHasChildren ( boolean $hasChildren ) |
|
|
setHasTranslation ( boolean $hasTranslation ) |
|
|
setLanguageCode ( string $language ) |
|
|
setPath ( string $path ) |
|
|
setPublished ( DateTime $published ) |
|
|
setType ( StructureType $type ) |
|
|
setUuid ( $uuid ) |
sets id of node. |
|
setWebspaceKey ( string $webspace ) |
|
|
toArray ( boolean $complete = true ) : array |
returns an array of property value pairs. |
|