Свойство | 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"]]. |
Méthode | 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 ( ) : |
||
Résultat |
public getDescription ( string $locale ) : string | ||
$locale | string | |
Résultat | string |
public getParameter ( string $name ) : mixed | ||
$name | string | |
Résultat | mixed |
public getParameters ( ) : array | ||
Résultat | array |
public Item[] $children | ||
Résultat | Item[] |
public array $description | ||
Résultat | array |
public array $parameters | ||
Résultat | array |
public array $tags | ||
Résultat | array |
public array $title | ||
Résultat | array |