InvoiceListController
class InvoiceListController extends AbstractListController (View source)
Class for InvoiceListController
Properties
| bool | $accessNeedLoggedUser | if this controller need logged user or not |
from Controller |
| bool | $accessRight | define current user access |
from Controller |
| bool | $controllerStatus | If controller is active |
from Controller |
| DoliDB | $db | from Controller | |
| string | $tplPath | from Controller | |
| FormListWebPortal | $formList | from AbstractListController |
Methods
Action method is called before html output can be used to manage security and change context
Check current access to controller
Display
Execute hook PrintPageView
Load a template .tpl file
Called before print value for list
Called after print value for list
Details
void
__construct()
Constructor
int
action()
Action method is called before html output can be used to manage security and change context
bool
checkAccess()
Check current access to controller
void
display()
Display
void
display404()
Display error template
int
hookDoAction(array<string, mixed> $parameters = array())
Execute hook doActions
int
hookPrintPageView(array<string, mixed> $parameters = array())
Execute hook PrintPageView
bool
loadTemplate(string $templateName, mixed $vars = false)
Load a template .tpl file
void
listSetArrayFields()
Set array fields
void
listSetSearchValues(bool $clear = false)
Set search values
string
listPrintValueBefore(string $field_key, array<string, mixed> $field_spec, stdClass $record)
Called before print value for list
string
listPrintValueAfter(string $field_key, array<string, mixed> $field_spec, stdClass $record, string $out)
Called after print value for list