PHP Класс Corcel\Attachment

Автор: José CI ([email protected])
Наследование: extends Post
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$appends array The accessors to append to the model's array form.
$postType string Type of post.

Открытые методы

Метод Описание
getAltAttribute ( ) : string Gets the alt attribute.
getCaptionAttribute ( ) : string Gets the caption attribute.
getDescriptionAttribute ( ) : string Gets the description attribute.
getTitleAttribute ( ) : string Gets the title attribute.
getTypeAttribute ( ) : string Gets the mime type attribute.
getUrlAttribute ( ) : string Gets the url attribute.
toArray ( ) : string Returns the basic Attachment information.

Описание методов

getAltAttribute() публичный Метод

Gets the alt attribute.
public getAltAttribute ( ) : string
Результат string

getCaptionAttribute() публичный Метод

Gets the caption attribute.
public getCaptionAttribute ( ) : string
Результат string

getDescriptionAttribute() публичный Метод

Gets the description attribute.
public getDescriptionAttribute ( ) : string
Результат string

getTitleAttribute() публичный Метод

Gets the title attribute.
public getTitleAttribute ( ) : string
Результат string

getTypeAttribute() публичный Метод

Gets the mime type attribute.
public getTypeAttribute ( ) : string
Результат string

getUrlAttribute() публичный Метод

Gets the url attribute.
public getUrlAttribute ( ) : string
Результат string

toArray() публичный Метод

Returns the basic Attachment information.
public toArray ( ) : string
Результат string

Описание свойств

$appends защищенное свойство

The accessors to append to the model's array form.
protected array $appends
Результат array

$postType защищенное свойство

Type of post.
protected string $postType
Результат string