Property | Type | Description | |
---|---|---|---|
$children | Item[] | Children of this item, f.e. properties, sections or structures. | |
$description | array | Description of this property|structure e.g. [["de": "Liste von Artikeln", "en": "List of articles"]]. | |
$name | string | Name of this item. | |
$parameters | array | array( 'placeholder' => 'Enter some text', ) | |
$tags | array | array( array('name' => 'sulu_search.field', 'type' => 'string') ) | |
$title | array | The title of this property|structure e.g. [["de": "Artikles", "en": "Articles"]]. |
Method | Description | |
---|---|---|
__construct ( mixed $name = null ) | ||
__set ( $field, $value ) | Magic setter to catch bad property calls. | |
addChild ( |
Adds a child item. | |
getChild ( string $name ) : |
Return the named property. | |
getChildren ( ) : |
Return the children of this item. | |
getDescription ( string $locale ) : string | Return the description of this property. | |
getName ( ) : string | Return the name of this item. | |
getParameter ( string $name ) : mixed | Return the paramter with the given name. | |
getParameters ( ) : array | Return the parameters for this property. | |
getTag ( string $tagName ) : array | Return the named tag. | |
getTags ( ) : array | Return the tags of this item. | |
getTitle ( string $locale ) : string | Return the localized name of this ItemMetadata or default to the name. | |
hasChild ( string $name ) : boolean | Return true if this structure has the named property, false if it does not. | |
hasTag ( string $name ) : boolean | Return true if this item has the named tag. |
public addChild ( |
||
$child |
public getChildren ( ) : |
||
return |
public getDescription ( string $locale ) : string | ||
$locale | string | |
return | string |
public getParameter ( string $name ) : mixed | ||
$name | string | |
return | mixed |
public getParameters ( ) : array | ||
return | array |
public Item[] $children | ||
return | Item[] |
public array $description | ||
return | array |
public array $parameters | ||
return | array |
public array $tags | ||
return | array |
public array $title | ||
return | array |