PHP 클래스 Yab\Quarx\Repositories\PageRepository

파일 보기 프로젝트 열기: YABhq/Quarx 1 사용 예제들

공개 메소드들

메소드 설명
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