프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$rules |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$guarded | |||
$images_path | Path in the public folder to upload image and its corresponding thumbnail | ||
$table | |||
$thumbs_path |
메소드 | 설명 | |
---|---|---|
all_targets ( ) : array | Get all the targets available for a theme | |
create ( array $attributes = [] ) : void | When creating a theme, run the attributes through a validator first. | |
getPresenter ( ) | Initiate the presenter class | |
settings ( ) | Relation with the categories table A post can have many categories | |
themeLists ( $target = null ) | ||
update ( array $attributes = [], array $options = [] ) : void | When updating a theme, run the attributes through a validator first. |
public static all_targets ( ) : array | ||
리턴 | array |
public settings ( ) |
protected $images_path |