Метод | Описание | |
---|---|---|
create ( array $data ) : array | Create a new Series. | |
findAllWithRelation ( ) : Illuminate\Database\Eloquent\Collection | |
Return all series and relation. | |
findAllWithRelationBySlug ( $slug ) : Illuminate\Database\Eloquent\Collection | |
Return series and relation by slug. (video is published.) | |
findAllWithRelationHavePublishedVideo ( ) : Illuminate\Database\Eloquent\Collection | |
Return series and relation. (video is published.) | |
findAllWithRelationHavePublishedVideoLimit ( $limit = 4 ) : Illuminate\Database\Eloquent\Collection | |
Limit series and relation for home page. (video is published.) | |
findImageById ( integer $id ) : string | Find image path by id. | |
getCreateForm ( ) : Learner\Services\Forms\CreateSeriesFormService. | Get the user creation form service. | |
getUpdateForm ( ) : Learner\Services\Forms\UpdateSeriesFormService. | Get the user updation form service. | |
listIdAndTitle ( ) : Illuminate\Database\Eloquent\Collection | List all series' id and title for categories list. | |
update ( integer $id, array $data ) : array | Update Series by id. |
public findAllWithRelation ( ) : Illuminate\Database\Eloquent\Collection | |
||
Результат | Illuminate\Database\Eloquent\Collection | |
public findAllWithRelationBySlug ( $slug ) : Illuminate\Database\Eloquent\Collection | |
||
Результат | Illuminate\Database\Eloquent\Collection | |
public findAllWithRelationHavePublishedVideo ( ) : Illuminate\Database\Eloquent\Collection | |
||
Результат | Illuminate\Database\Eloquent\Collection | |
public findAllWithRelationHavePublishedVideoLimit ( $limit = 4 ) : Illuminate\Database\Eloquent\Collection | |
||
Результат | Illuminate\Database\Eloquent\Collection | |
public findImageById ( integer $id ) : string | ||
$id | integer | |
Результат | string |
public getCreateForm ( ) : Learner\Services\Forms\CreateSeriesFormService. | ||
Результат | Learner\Services\Forms\CreateSeriesFormService. |
public getUpdateForm ( ) : Learner\Services\Forms\UpdateSeriesFormService. | ||
Результат | Learner\Services\Forms\UpdateSeriesFormService. |
public listIdAndTitle ( ) : Illuminate\Database\Eloquent\Collection | ||
Результат | Illuminate\Database\Eloquent\Collection |