PHP Class Yab\Quarx\Repositories\EventRepository

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

Méthodes publiques

Méthode Description
all ( ) : Illuminate\Database\Eloquent\Collection | static[] Returns all EventS.
findEventById ( integer $id ) : Collection | null | static | Event Find Event by given id.
findEventsByDate ( $date ) : Illuminate\Database\Eloquent\Collection | static[] Returns all published Events.
paginated ( ) : Illuminate\Database\Eloquent\Collection | static[] Returns all paginated EventS.
published ( ) : Illuminate\Database\Eloquent\Collection | static[] Returns all published Events.
search ( string $input ) : Event Search Event.
store ( array $input ) : Event Stores Event into database.
update ( Event $event, array $input ) : Event Updates Event into database.

Method Details

all() public méthode

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

findEventById() public méthode

Find Event by given id.
public findEventById ( integer $id ) : Collection | null | static | Event
$id integer
Résultat Illuminate\Support\Collection | null | static | Yab\Quarx\Models\Event

findEventsByDate() public méthode

Returns all published Events.
public findEventsByDate ( $date ) : Illuminate\Database\Eloquent\Collection | static[]
Résultat Illuminate\Database\Eloquent\Collection | static[]

paginated() public méthode

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

published() public méthode

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

store() public méthode

Stores Event into database.
public store ( array $input ) : Event
$input array
Résultat Yab\Quarx\Models\Event

update() public méthode

Updates Event into database.
public update ( Event $event, array $input ) : Event
$event Yab\Quarx\Models\Event
$input array
Résultat Yab\Quarx\Models\Event