dolibarr 21.0.0-alpha
|
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 28 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 80 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 92 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 114 of file controller.class.php.
References $context, Context\getInstance(), hookPrintPageView(), and loadTemplate().
Controller::display404 | ( | ) |
Display error template.
Definition at line 134 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 | $parameters | Parameters |
Definition at line 147 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 | $parameters | Parameters |
Definition at line 170 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 194 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(), PropalListController\display(), and display404().