PHP Class Yab\Quarx\Repositories\ImageRepository

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

Méthodes publiques

Méthode Description
all ( ) : Illuminate\Database\Eloquent\Collection | static[] Returns all Images.
allTags ( ) : Illuminate\Database\Eloquent\Collection | static[] Returns all Images tags.
apiPrepared ( ) : Illuminate\Database\Eloquent\Collection | static[] Returns all Images for the API.
apiStore ( array $input ) : Images Stores Images into database.
findImagesById ( integer $id ) : Collection | null | static | Images Find Images by given id.
getImagesByTag ( $tag = null ) : Illuminate\Database\Eloquent\Collection | static[] Returns all Images for the API.
paginated ( )
published ( )
publishedAndPaginated ( )
search ( string $input ) : Collection Search the images.
store ( array $input ) : Images Stores Images into database.
update ( Images $images, array $input ) : Images Updates Images into database.

Method Details

all() public méthode

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

allTags() public méthode

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

apiPrepared() public méthode

Returns all Images for the API.
public apiPrepared ( ) : Illuminate\Database\Eloquent\Collection | static[]
Résultat Illuminate\Database\Eloquent\Collection | static[]

apiStore() public méthode

Stores Images into database.
public apiStore ( array $input ) : Images
$input array
Résultat Images

findImagesById() public méthode

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

getImagesByTag() public méthode

Returns all Images for the API.
public getImagesByTag ( $tag = null ) : Illuminate\Database\Eloquent\Collection | static[]
Résultat Illuminate\Database\Eloquent\Collection | static[]

paginated() public méthode

public paginated ( )

published() public méthode

public published ( )

publishedAndPaginated() public méthode

store() public méthode

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

update() public méthode

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