PHP 클래스 Corcel\Attachment

저자: José CI ([email protected])
상속: extends Post
파일 보기 프로젝트 열기: jgrossi/corcel

보호된 프로퍼티들

프로퍼티 타입 설명
$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