PHP Class Yab\Quarx\Repositories\LinkRepository

Mostrar archivo Open project: YABhq/Quarx Class Usage Examples

Public Methods

Method Description
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.

Method Details

all() public method

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

findLinksById() public method

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

getLinksByMenu() public method

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

getLinksByMenuID() public static method

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

store() public method

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

update() public method

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