Property | Type | Description | |
---|---|---|---|
$rules |
Property | Type | Description | |
---|---|---|---|
$guarded | |||
$images_path | Path in the public folder to upload image and its corresponding thumbnail | ||
$table | |||
$thumbs_path |
Method | Description | |
---|---|---|
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 | ||
return | array |
public settings ( ) |
protected $images_path |