|
dolibarr 23.0.3
|
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 282 of file document.controller.class.php.
References $context, and Context\getInstance().
| DocumentController::checkAccess | ( | ) |
Check current access to controller.
Reimplemented from Controller.
Definition at line 269 of file document.controller.class.php.
| DocumentController::display | ( | ) |
Display.
Reimplemented from Controller.
Definition at line 304 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 $context, $object, dol_mimetype(), dol_syslog(), dolIsAllowedForPreview(), getDolGlobalInt(), getDolGlobalString(), Context\getInstance(), GETPOST(), GETPOSTINT(), httponly_accessforbidden(), and isModEnabled().