dolibarr 24.0.0-beta
AbstractListController Class Reference

Class for AbstractListController. More...

Inheritance diagram for AbstractListController:
Collaboration diagram for AbstractListController:

Public Member Functions

 listSetArrayFields ()
 Set array fields.
 
 listSetSearchValues ($clear=false)
 Set search values.
 
 listPrintValueBefore ($field_key, $field_spec, &$record)
 Called before print value for list.
 
 listPrintValueAfter ($field_key, $field_spec, &$record, $out)
 Called after print value for list.
 
- Public Member Functions inherited from Controller
 __construct ()
 Constructor.
 
 action ()
 Action method is called before html output can be used to manage security and change context.
 
 checkAccess ()
 Check current access to controller.
 
 display ()
 Display.
 
 display404 ()
 Display error template.
 
 hookDoAction ($parameters=array())
 Execute hook doActions.
 
 hookPrintPageView ($parameters=array())
 Execute hook PrintPageView.
 
 loadTemplate ($templateName, $vars=false)
 Load a template .tpl file.
 

Detailed Description

Class for AbstractListController.

Definition at line 30 of file abstractlist.controller.class.php.

Member Function Documentation

◆ listPrintValueAfter()

AbstractListController::listPrintValueAfter ( $field_key,
$field_spec,
& $record,
$out )

Called after print value for list.

Parameters
string$field_keyField key
array<string,mixed>$field_spec Field specification
stdClass$recordContain data of object from database
string$outCurrent HTML input
Returns
string HTML input

Definition at line 78 of file abstractlist.controller.class.php.

◆ listPrintValueBefore()

AbstractListController::listPrintValueBefore ( $field_key,
$field_spec,
& $record )

Called before print value for list.

Parameters
string$field_keyField key
array<string,mixed>$field_spec Field specification
stdClass$recordContain data of object from database
Returns
string HTML input

Reimplemented in FicheinterListController, and TicketListController.

Definition at line 64 of file abstractlist.controller.class.php.

◆ listSetArrayFields()

AbstractListController::listSetArrayFields ( )

Set array fields.

Returns
void

Reimplemented in FicheinterListController, and TicketListController.

Definition at line 42 of file abstractlist.controller.class.php.

◆ listSetSearchValues()

AbstractListController::listSetSearchValues ( $clear = false)

Set search values.

Parameters
bool$clearClear search values
Returns
void

Definition at line 52 of file abstractlist.controller.class.php.


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