dolibarr 21.0.0-alpha
|
Class for DocumentController. More...
Public Member Functions | |
init () | |
Init. | |
checkAccess () | |
Check current access to controller. | |
action () | |
Action method is called before html output can be used to manage security and change context. | |
display () | |
Display. | |
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. | |
Class for DocumentController.
Definition at line 31 of file document.controller.class.php.
DocumentController::action | ( | ) |
Action method is called before html output can be used to manage security and change context.
Reimplemented from Controller.
Definition at line 269 of file document.controller.class.php.
References $context, and Context\getInstance().
DocumentController::checkAccess | ( | ) |
Check current access to controller.
Reimplemented from Controller.
Definition at line 256 of file document.controller.class.php.
DocumentController::display | ( | ) |
Display.
Reimplemented from Controller.
Definition at line 291 of file document.controller.class.php.
References $context, dol_filesize(), Context\getInstance(), readfileLowMemory(), and top_httphead().
DocumentController::init | ( | ) |
Init.
Definition at line 89 of file document.controller.class.php.
References $context, dol_mimetype(), dolIsAllowedForPreview(), getDolGlobalInt(), getDolGlobalString(), Context\getInstance(), GETPOST(), GETPOSTINT(), and httponly_accessforbidden().