|
dolibarr 24.0.0-beta
|
Class to manage pages. More...

Public Member Functions | |
| __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. | |
Class to manage pages.
Definition at line 29 of file controller.class.php.
| Controller::__construct | ( | ) |
| Controller::action | ( | ) |
Action method is called before html output can be used to manage security and change context.
Reimplemented in DefaultController, DocumentController, DocumentListController, FicheinterListController, InvoiceListController, LoginController, MemberCardController, OrderListController, PartnershipCardController, PropalListController, SharedDocumentsController, TicketListController, and ViewImageController.
Definition at line 86 of file controller.class.php.
References hookDoAction().
| Controller::checkAccess | ( | ) |
Check current access to controller.
Reimplemented in DefaultController, DocumentController, DocumentListController, FicheinterListController, InvoiceListController, LoginController, MemberCardController, OrderListController, PartnershipCardController, PropalListController, SharedDocumentsController, TicketListController, and ViewImageController.
Definition at line 98 of file controller.class.php.
References $context, and Context\getInstance().
| Controller::display | ( | ) |
Display.
Reimplemented in AbstractCardController, DefaultController, DocumentController, DocumentListController, FicheinterListController, InvoiceListController, LoginController, OrderListController, PropalListController, SharedDocumentsController, and TicketListController.
Definition at line 129 of file controller.class.php.
References $context, Context\getInstance(), hookPrintPageView(), and loadTemplate().
| Controller::display404 | ( | ) |
Display error template.
Definition at line 149 of file controller.class.php.
References loadTemplate().
Referenced by AbstractCardController\display(), DefaultController\display(), DocumentListController\display(), FicheinterListController\display(), InvoiceListController\display(), LoginController\display(), OrderListController\display(), PropalListController\display(), SharedDocumentsController\display(), and TicketListController\display().
| Controller::hookDoAction | ( | $parameters = array() | ) |
Execute hook doActions.
| array<string,mixed> | $parameters Parameters |
Definition at line 162 of file controller.class.php.
References $context, and Context\getInstance().
Referenced by action(), DefaultController\action(), FicheinterListController\action(), InvoiceListController\action(), LoginController\action(), MemberCardController\action(), OrderListController\action(), PartnershipCardController\action(), PropalListController\action(), and TicketListController\action().
| Controller::hookPrintPageView | ( | $parameters = array() | ) |
Execute hook PrintPageView.
| array<string,mixed> | $parameters Parameters |
Definition at line 185 of file controller.class.php.
References $context, and Context\getInstance().
Referenced by AbstractCardController\display(), display(), DefaultController\display(), FicheinterListController\display(), InvoiceListController\display(), LoginController\display(), OrderListController\display(), PropalListController\display(), and TicketListController\display().
| Controller::loadTemplate | ( | $templateName, | |
| $vars = false ) |
Load a template .tpl file.
| string | $templateName | Template file name (without the .tpl.php) |
| mixed | $vars | Data to transmit to template |
Definition at line 209 of file controller.class.php.
References $conf, $context, and Context\getInstance().
Referenced by AbstractCardController\display(), display(), DefaultController\display(), DocumentListController\display(), FicheinterListController\display(), InvoiceListController\display(), LoginController\display(), OrderListController\display(), PropalListController\display(), SharedDocumentsController\display(), TicketListController\display(), and display404().