PHP 클래스 Modules\Doptor\Slideshow\Models\Slideshow

상속: extends Eloquen\Eloquent, implements Robbo\Presenter\PresentableInterface
파일 보기 프로젝트 열기: doptor/doptor 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$fillable
$guarded
$images_path Path in the public folder to upload slides
$table

공개 메소드들

메소드 설명
all_status ( ) : array Get all the statuses available for a post
create ( array $attributes = [] ) : void Create a new slide
getImageAttribute ( ) : string Get the slideshow image with its directory location
getPresenter ( ) Initiate the presenter class
link ( ) Get the link associated with the menu
setImageAttribute ( $file ) Upload the slideshow image while creating/updating records
update ( array $attributes = [], array $options = [] ) : void Update an existing slide

메소드 상세

all_status() 공개 정적인 메소드

Get all the statuses available for a post
public static all_status ( ) : array
리턴 array

create() 공개 정적인 메소드

Create a new slide
public static create ( array $attributes = [] ) : void
$attributes array
리턴 void

getImageAttribute() 공개 메소드

Get the slideshow image with its directory location
public getImageAttribute ( ) : string
리턴 string

getPresenter() 공개 메소드

Initiate the presenter class
public getPresenter ( )

setImageAttribute() 공개 메소드

Upload the slideshow image while creating/updating records
public setImageAttribute ( $file )

update() 공개 메소드

Update an existing slide
public update ( array $attributes = [], array $options = [] ) : void
$attributes array
$options array
리턴 void

프로퍼티 상세

$fillable 보호되어 있는 프로퍼티

protected $fillable

$guarded 보호되어 있는 프로퍼티

protected $guarded

$images_path 보호되어 있는 프로퍼티

Path in the public folder to upload slides
protected $images_path

$table 보호되어 있는 프로퍼티

protected $table