dolibarr 24.0.0-beta
TicketListController Class Reference

Class for TicketListController. More...

Inheritance diagram for TicketListController:
Collaboration diagram for TicketListController:

Public Member Functions

 checkAccess ()
 Check current access to controller.
 
 action ()
 Action method is called before html output can be used to manage security and change context.
 
 listSetArrayFields ()
 Set array fields for ticket list.
 
 listPrintValueBefore ($field_key, $field_spec, &$record)
 Called before print value for list.
 
 display ()
 Display.
 
- Public Member Functions inherited from AbstractListController
 listSetSearchValues ($clear=false)
 Set search values.
 
 listPrintValueAfter ($field_key, $field_spec, &$record, $out)
 Called after print value for list.
 
- Public Member Functions inherited from Controller
 __construct ()
 Constructor.
 
 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 TicketListController.

Definition at line 31 of file ticketlist.controller.class.php.

Member Function Documentation

◆ action()

TicketListController::action ( )

Action method is called before html output can be used to manage security and change context.

Returns
int Return integer < 0 on error, > 0 on success

Reimplemented from Controller.

Definition at line 56 of file ticketlist.controller.class.php.

References $context, Context\getInstance(), and Controller\hookDoAction().

◆ checkAccess()

TicketListController::checkAccess ( )

Check current access to controller.

Returns
bool

Reimplemented from Controller.

Definition at line 43 of file ticketlist.controller.class.php.

References getDolGlobalInt(), and isModEnabled().

◆ display()

TicketListController::display ( )

◆ listPrintValueBefore()

TicketListController::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 from AbstractListController.

Definition at line 117 of file ticketlist.controller.class.php.

References getDolGlobalString(), and img_object().

◆ listSetArrayFields()

TicketListController::listSetArrayFields ( )

Set array fields for ticket list.

Returns
void

Reimplemented from AbstractListController.

Definition at line 96 of file ticketlist.controller.class.php.

References isModEnabled().


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