PHP Class Corcel\Attachment

Author: José CI ([email protected])
Inheritance: extends Post
Afficher le fichier Open project: jgrossi/corcel

Protected Properties

Свойство Type Description
$appends array The accessors to append to the model's array form.
$postType string Type of post.

Méthodes publiques

Méthode Description
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.

Method Details

getAltAttribute() public méthode

Gets the alt attribute.
public getAltAttribute ( ) : string
Résultat string

getCaptionAttribute() public méthode

Gets the caption attribute.
public getCaptionAttribute ( ) : string
Résultat string

getDescriptionAttribute() public méthode

Gets the description attribute.
public getDescriptionAttribute ( ) : string
Résultat string

getTitleAttribute() public méthode

Gets the title attribute.
public getTitleAttribute ( ) : string
Résultat string

getTypeAttribute() public méthode

Gets the mime type attribute.
public getTypeAttribute ( ) : string
Résultat string

getUrlAttribute() public méthode

Gets the url attribute.
public getUrlAttribute ( ) : string
Résultat string

toArray() public méthode

Returns the basic Attachment information.
public toArray ( ) : string
Résultat string

Property Details

$appends protected_oe property

The accessors to append to the model's array form.
protected array $appends
Résultat array

$postType protected_oe property

Type of post.
protected string $postType
Résultat string