PHP Class Devise\Support\Sortable\EloquentBuilder

..
Inheritance: extends Illuminate\Database\Eloquent\Builder
Afficher le fichier Open project: devisephp/cms Class Usage Examples

Méthodes publiques

Méthode Description
paginate ( integer $perPage = null, array $columns = ['*'], string $pageName = 'page', $page = null ) : Illuminate\Pagination\Paginator Get a paginator for the "select" statement.

Méthodes protégées

Méthode Description
callParentPagination ( integer $perPage, array $columns ) : Illuminate\Pagination\Paginator Wrapper method so we can call the parent's paginate method and also mock it in mockery too so we don't have to fiddle faddle with Eloquent underneath

Method Details

callParentPagination() protected méthode

Wrapper method so we can call the parent's paginate method and also mock it in mockery too so we don't have to fiddle faddle with Eloquent underneath
protected callParentPagination ( integer $perPage, array $columns ) : Illuminate\Pagination\Paginator
$perPage integer
$columns array
Résultat Illuminate\Pagination\Paginator

paginate() public méthode

Get a paginator for the "select" statement.
public paginate ( integer $perPage = null, array $columns = ['*'], string $pageName = 'page', $page = null ) : Illuminate\Pagination\Paginator
$perPage integer
$columns array
$pageName string
Résultat Illuminate\Pagination\Paginator