프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
public static all_status ( ) : array | ||
리턴 | array |
public getImageAttribute ( ) : string | ||
리턴 | string |
public setImageAttribute ( $file ) |