PHP Trait Hootlex\Moderation\ModerationQueryBuilder

Datei anzeigen Open project: hootlex/laravel-moderation

Public Methods

Method Description
pending ( ) : Builder | static Get a new query builder that only includes pending resources.
postponed ( ) : Builder | static Get a new query builder that only includes postponed resources.
rejected ( ) : Builder | static Get a new query builder that only includes rejected resources.
withAnyStatus ( ) : Builder | static Get a new query builder that includes all resources.
withPending ( ) : Builder | static Get a new query builder that includes pending resources.
withPostponed ( ) : Builder | static Get a new query builder that includes postponed resources.
withRejected ( ) : Builder | static Get a new query builder that includes rejected resources.

Method Details

pending() public static method

Get a new query builder that only includes pending resources.
public static pending ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static

postponed() public static method

Get a new query builder that only includes postponed resources.
public static postponed ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static

rejected() public static method

Get a new query builder that only includes rejected resources.
public static rejected ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static

withAnyStatus() public static method

Get a new query builder that includes all resources.
public static withAnyStatus ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static

withPending() public static method

Get a new query builder that includes pending resources.
public static withPending ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static

withPostponed() public static method

Get a new query builder that includes postponed resources.
public static withPostponed ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static

withRejected() public static method

Get a new query builder that includes rejected resources.
public static withRejected ( ) : Builder | static
return Illuminate\Database\Eloquent\Builder | static