dolibarr 21.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, InvoiceListController, LoginController, MemberCardController, OrderListController, PartnershipCardController, and PropalListController.
Definition at line 81 of file controller.class.php.
References hookDoAction().
Controller::checkAccess | ( | ) |
Check current access to controller.
Reimplemented in DefaultController, DocumentController, InvoiceListController, LoginController, MemberCardController, OrderListController, PartnershipCardController, and PropalListController.
Definition at line 93 of file controller.class.php.
References $context, and Context\getInstance().
Controller::display | ( | ) |
Display.
Reimplemented in DefaultController, DocumentController, InvoiceListController, LoginController, MemberCardController, OrderListController, PartnershipCardController, and PropalListController.
Definition at line 115 of file controller.class.php.
References $context, Context\getInstance(), hookPrintPageView(), and loadTemplate().
Controller::display404 | ( | ) |
Display error template.
Definition at line 135 of file controller.class.php.
References loadTemplate().
Referenced by DefaultController\display(), InvoiceListController\display(), LoginController\display(), MemberCardController\display(), OrderListController\display(), PartnershipCardController\display(), and PropalListController\display().
Controller::hookDoAction | ( | $parameters = array() | ) |
Execute hook doActions.
array<string,mixed> | $parameters Parameters |
Definition at line 148 of file controller.class.php.
References $context, and Context\getInstance().
Referenced by action(), DefaultController\action(), InvoiceListController\action(), LoginController\action(), MemberCardController\action(), OrderListController\action(), PartnershipCardController\action(), and PropalListController\action().
Controller::hookPrintPageView | ( | $parameters = array() | ) |
Execute hook PrintPageView.
array<string,mixed> | $parameters Parameters |
Definition at line 171 of file controller.class.php.
References $context, and Context\getInstance().
Referenced by display(), DefaultController\display(), InvoiceListController\display(), LoginController\display(), MemberCardController\display(), OrderListController\display(), PartnershipCardController\display(), and PropalListController\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 195 of file controller.class.php.
References $conf, $context, and Context\getInstance().
Referenced by display(), DefaultController\display(), InvoiceListController\display(), LoginController\display(), MemberCardController\display(), OrderListController\display(), PartnershipCardController\display(), PropalListController\display(), and display404().