PHP Class Yab\Quarx\Repositories\PageRepository

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

Méthodes publiques

Méthode Description
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.

Method Details

all() public méthode

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

findPagesById() public méthode

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

findPagesByURL() public méthode

Find Pages by given URL.
public findPagesByURL ( string $url ) : Collection | null | static | Pages
$url string
Résultat Illuminate\Support\Collection | null | static | Pages

paginated() public méthode

public paginated ( )

published() public méthode

public published ( )

store() public méthode

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

update() public méthode

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