dolibarr 24.0.0-beta
FicheinterListController Class Reference

Class for FicheinterListController. More...

Inheritance diagram for FicheinterListController:
Collaboration diagram for FicheinterListController:

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 intervention 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 FicheinterListController.

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

Member Function Documentation

◆ action()

FicheinterListController::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 50 of file ficheinterlist.controller.class.php.

References $context, Context\getInstance(), Controller\hookDoAction(), WebPortalFicheinter\STATUS_SIGN_NOT_SIGNED, Fichinter\STATUS_VALIDATED, and string.

◆ checkAccess()

FicheinterListController::checkAccess ( )

Check current access to controller.

Returns
bool

Reimplemented from Controller.

Definition at line 37 of file ficheinterlist.controller.class.php.

References getDolGlobalInt(), and isModEnabled().

◆ display()

FicheinterListController::display ( )

◆ listPrintValueBefore()

FicheinterListController::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 138 of file ficheinterlist.controller.class.php.

References $conf, dol_sanitizeFileName(), and Fichinter\STATUS_CLOSED.

◆ listSetArrayFields()

FicheinterListController::listSetArrayFields ( )

Set array fields for intervention list.

Returns
void

Reimplemented from AbstractListController.

Definition at line 121 of file ficheinterlist.controller.class.php.

References isModEnabled().


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