PHP Class Corcel\Attachment

Author: José CI ([email protected])
Inheritance: extends Post
Datei anzeigen Open project: jgrossi/corcel

Protected Properties

Property Type Description
$appends array The accessors to append to the model's array form.
$postType string Type of post.

Public Methods

Method 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 method

Gets the alt attribute.
public getAltAttribute ( ) : string
return string

getCaptionAttribute() public method

Gets the caption attribute.
public getCaptionAttribute ( ) : string
return string

getDescriptionAttribute() public method

Gets the description attribute.
public getDescriptionAttribute ( ) : string
return string

getTitleAttribute() public method

Gets the title attribute.
public getTitleAttribute ( ) : string
return string

getTypeAttribute() public method

Gets the mime type attribute.
public getTypeAttribute ( ) : string
return string

getUrlAttribute() public method

Gets the url attribute.
public getUrlAttribute ( ) : string
return string

toArray() public method

Returns the basic Attachment information.
public toArray ( ) : string
return string

Property Details

$appends protected_oe property

The accessors to append to the model's array form.
protected array $appends
return array

$postType protected_oe property

Type of post.
protected string $postType
return string