Метод | Описание | |
---|---|---|
__construct ( integer | string $id, string $type, string $locale, string $title, string $description, string $moreText, string $url, integer $mediaId, array $attributes = [] ) | ||
getAttributes ( ) : array | Returns attributes. | |
getDescription ( ) : string | Returns description. | |
getId ( ) : integer | string | Returns id. | |
getLocale ( ) : string | Returns locale. | |
getMediaId ( ) : integer | Returns media-id. | |
getMoreText ( ) : string | Returns more-text. | |
getTitle ( ) : string | Returns title. | |
getType ( ) : string | Returns type. | |
getUrl ( ) : string | Returns url. | |
merge ( array $item ) : |
Merges given data with this teaser. |
Метод | Описание | |
---|---|---|
getValue ( string $name, array $item, mixed $default ) : mixed | Returns array-value by name or default value. |
public __construct ( integer | string $id, string $type, string $locale, string $title, string $description, string $moreText, string $url, integer $mediaId, array $attributes = [] ) | ||
$id | integer | string | |
$type | string | |
$locale | string | |
$title | string | |
$description | string | |
$moreText | string | |
$url | string | |
$mediaId | integer | |
$attributes | array |
public getAttributes ( ) : array | ||
Результат | array |
public getDescription ( ) : string | ||
Результат | string |