Galette API documentation
Gestionnaire d’Adhérents en Ligne Extrêmement Tarabiscoté mais Tellement Efficace
1.0.0
Galette\Filters\DocumentsList Class Reference
Inheritance diagram for Galette\Filters\DocumentsList:
Collaboration diagram for Galette\Filters\DocumentsList:

Public Attributes

const ORDERBY_DATE = 0
 
const ORDERBY_TYPE = 1
 
const ORDERBY_NAME = 2
 
const ORDERBY_ID = 3
 
- Public Attributes inherited from Galette\Core\Pagination
const ORDER_ASC = 'ASC'
 
const ORDER_DESC = 'DESC'
 

Protected Member Functions

 getDefaultOrder ()
 
 getDefaultDirection ()
 
- Protected Member Functions inherited from Galette\Core\Pagination
 countPages ()
 
 getHref (int $page)
 

Additional Inherited Members

- Public Member Functions inherited from Galette\Core\Pagination
 __construct ()
 
 reinit ()
 
 invertorder ()
 
 getDirection ()
 
 setDirection (string $direction)
 
 setLimits (Select $select)
 
 setCounter (int $c)
 
 setViewPagination (RouteParser $routeparser, Twig $view, bool $restricted=true)
 
 __get (string $name)
 
 __isset (string $name)
 
 __set (string $name, mixed $value)
 
- Protected Attributes inherited from Galette\Core\Pagination
Twig $view
 
RouteParser $routeparser
 
array $errors = []
 
array $pagination_fields
 

Detailed Description

Documents list filters and paginator

Author
Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be

Member Function Documentation

◆ getDefaultDirection()

Galette\Filters\DocumentsList::getDefaultDirection ( )
protected

Return the default direction for ordering

Returns
string ASC or DESC

Reimplemented from Galette\Core\Pagination.

◆ getDefaultOrder()

Galette\Filters\DocumentsList::getDefaultOrder ( )
protected

Returns the field we want to default set order to

Returns
int|string

Reimplemented from Galette\Core\Pagination.


The documentation for this class was generated from the following file: