Свойство | Тип | Описание | |
---|---|---|---|
$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"]]. |
Метод | Описание | |
---|---|---|
__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 ( ) : |
||
Результат |
public getDescription ( string $locale ) : string | ||
$locale | string | |
Результат | string |
public getParameter ( string $name ) : mixed | ||
$name | string | |
Результат | mixed |
public getParameters ( ) : array | ||
Результат | array |
public Item[] $children | ||
Результат | Item[] |
public array $description | ||
Результат | array |
public array $parameters | ||
Результат | array |
public array $tags | ||
Результат | array |
public array $title | ||
Результат | array |