|
dolibarr 24.0.0-beta
|
Class for DocumentListController. More...


Public Member Functions | |
| checkAccess () | |
| Check access rights for this page. | |
| action () | |
| Action method is called before HTML output. | |
| display () | |
| Build and display the page. | |
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. | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractDocumentController | |
| displayDocumentTable ($title, $itemList, $emptyMessage, array $linkBuilder) | |
| Renders an HTML file browser table for a given list of files and directories. | |
Class for DocumentListController.
@method void display404() @method bool loadTemplate(string $templateName, false|mixed $vars = false)
Definition at line 37 of file documentlist.controller.class.php.
| DocumentListController::action | ( | ) |
Action method is called before HTML output.
Reimplemented from Controller.
Definition at line 55 of file documentlist.controller.class.php.
References $context, and Context\getInstance().
| DocumentListController::checkAccess | ( | ) |
Check access rights for this page.
Reimplemented from Controller.
Definition at line 44 of file documentlist.controller.class.php.
References getDolGlobalInt().
| DocumentListController::display | ( | ) |
Build and display the page.
Get url for file (anonymous function)
| array<string,mixed> | $file File (array) to get url for |
Reimplemented from Controller.
Definition at line 76 of file documentlist.controller.class.php.
References $conf, $context, Controller\display404(), AbstractDocumentController\displayDocumentTable(), dol_dir_list(), Context\getInstance(), and Controller\loadTemplate().