PHP Class Yab\Quarx\Repositories\LinkRepository

Afficher le fichier Open project: YABhq/Quarx Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

findLinksById() public méthode

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

getLinksByMenu() public méthode

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

getLinksByMenuID() public static méthode

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

store() public méthode

Stores Links into database.
public store ( array $input ) : Links
$input array
Résultat Links

update() public méthode

Updates Links into database.
public update ( Links $links, array $input ) : Links
$links Links
$input array
Résultat Links