|
dolibarr 21.0.4
|
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 32 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 267 of file document.controller.class.php.
References $context, and Context\getInstance().
| DocumentController::checkAccess | ( | ) |
Check current access to controller.
Reimplemented from Controller.
Definition at line 254 of file document.controller.class.php.
| DocumentController::display | ( | ) |
Display.
Reimplemented from Controller.
Definition at line 289 of file document.controller.class.php.
References $context, dol_filesize(), Context\getInstance(), readfileLowMemory(), and top_httphead().
| DocumentController::init | ( | ) |
Init.
Definition at line 90 of file document.controller.class.php.
References $conf, $context, dol_mimetype(), dolIsAllowedForPreview(), getDolGlobalInt(), getDolGlobalString(), Context\getInstance(), GETPOST(), GETPOSTINT(), and httponly_accessforbidden().