PHP Класс Yab\Quarx\Repositories\PageRepository

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
all ( ) : Illuminate\Database\Eloquent\Collection | static[] Returns all Pages.
findPagesById ( integer $id ) : Collection | null | static | Pages Find Pages by given id.
findPagesByURL ( string $url ) : Collection | null | static | Pages Find Pages by given URL.
paginated ( )
published ( )
search ( $input )
store ( array $input ) : Pages Stores Pages into database.
update ( Pages $pages, array $input ) : Pages Updates Pages into database.

Описание методов

all() публичный Метод

Returns all Pages.
public all ( ) : Illuminate\Database\Eloquent\Collection | static[]
Результат Illuminate\Database\Eloquent\Collection | static[]

findPagesById() публичный Метод

Find Pages by given id.
public findPagesById ( integer $id ) : Collection | null | static | Pages
$id integer
Результат Illuminate\Support\Collection | null | static | Pages

findPagesByURL() публичный Метод

Find Pages by given URL.
public findPagesByURL ( string $url ) : Collection | null | static | Pages
$url string
Результат Illuminate\Support\Collection | null | static | Pages

paginated() публичный Метод

public paginated ( )

published() публичный Метод

public published ( )

store() публичный Метод

Stores Pages into database.
public store ( array $input ) : Pages
$input array
Результат Pages

update() публичный Метод

Updates Pages into database.
public update ( Pages $pages, array $input ) : Pages
$pages Pages
$input array
Результат Pages