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

Public Member Functions

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

Public Attributes

const ORDERBY_DATE = 0
 
const ORDERBY_IP = 1
 
const ORDERBY_USER = 2
 
const ORDERBY_ACTION = 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)
 

Protected Attributes

array $list_fields
 
- Protected Attributes inherited from Galette\Core\Pagination
Twig $view
 
RouteParser $routeparser
 
array $errors = []
 
array $pagination_fields
 

Constructor & Destructor Documentation

◆ __construct()

Galette\Filters\HistoryList::__construct ( )

Default constructor

Reimplemented from Galette\Core\Pagination.

Reimplemented in Galette\Filters\MailingsList.

Member Function Documentation

◆ __get()

Galette\Filters\HistoryList::__get ( string  $name)

Global getter method

Parameters
string$namename of the property we want to retrieve
Returns
mixed the called property

Reimplemented from Galette\Core\Pagination.

◆ __isset()

Galette\Filters\HistoryList::__isset ( string  $name)

Global isset method Required for twig to access properties via __get

Parameters
string$namename of the property we want to retrieve
Returns
bool

Reimplemented from Galette\Core\Pagination.

◆ __set()

Galette\Filters\HistoryList::__set ( string  $name,
mixed  $value 
)

Global setter method

Parameters
string$namename of the property we want to assign a value to
mixed$valuea relevant value for the property
Returns
void

Reimplemented from Galette\Core\Pagination.

Reimplemented in Galette\Filters\MailingsList.

◆ getDefaultDirection()

Galette\Filters\HistoryList::getDefaultDirection ( )
protected

Return the default direction for ordering

Returns
string ASC or DESC

Reimplemented from Galette\Core\Pagination.

◆ getDefaultOrder()

Galette\Filters\HistoryList::getDefaultOrder ( )
protected

Returns the field we want to default set order to

Returns
int|string

Reimplemented from Galette\Core\Pagination.

Reimplemented in Galette\Filters\MailingsList.

◆ reinit()

Galette\Filters\HistoryList::reinit ( )

Reinit default parameters

Returns
void

Reimplemented from Galette\Core\Pagination.

Reimplemented in Galette\Filters\MailingsList.

Member Data Documentation

◆ $list_fields

array Galette\Filters\HistoryList::$list_fields
protected
Initial value:
= array(
'start_date_filter',
'raw_start_date_filter',
'end_date_filter',
'raw_end_date_filter',
'user_filter',
'action_filter'
)

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