PHP 클래스 Yab\Quarx\Repositories\LinkRepository

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

공개 메소드들

메소드 설명
all ( ) : Illuminate\Database\Eloquent\Collection | static[] Returns all Links.
findLinksById ( integer $id ) : Collection | null | static | Links Find Links by given id.
getLinksByMenu ( integer $id ) : Collection | null | static | Links Find Links by given id.
getLinksByMenuID ( integer $id ) : Collection | null | static | Links Find Links by menu id.
store ( array $input ) : Links Stores Links into database.
update ( Links $links, array $input ) : Links Updates Links into database.

메소드 상세

all() 공개 메소드

Returns all Links.
public all ( ) : Illuminate\Database\Eloquent\Collection | static[]
리턴 Illuminate\Database\Eloquent\Collection | static[]

findLinksById() 공개 메소드

Find Links by given id.
public findLinksById ( integer $id ) : Collection | null | static | Links
$id integer
리턴 Illuminate\Support\Collection | null | static | Links

getLinksByMenu() 공개 메소드

Find Links by given id.
public getLinksByMenu ( integer $id ) : Collection | null | static | Links
$id integer
리턴 Illuminate\Support\Collection | null | static | Links

getLinksByMenuID() 공개 정적인 메소드

Find Links by menu id.
public static getLinksByMenuID ( integer $id ) : Collection | null | static | Links
$id integer
리턴 Illuminate\Support\Collection | null | static | Links

store() 공개 메소드

Stores Links into database.
public store ( array $input ) : Links
$input array
리턴 Links

update() 공개 메소드

Updates Links into database.
public update ( Links $links, array $input ) : Links
$links Links
$input array
리턴 Links