DocumentListController
class DocumentListController extends AbstractDocumentController (View source)
Class for DocumentListController
Properties
| bool | $accessNeedLoggedUser | if this controller need logged user or not |
from Controller |
| int | $accessRight | Inherited from Controller |
from AbstractDocumentController |
| bool | $controllerStatus | If controller is active |
from Controller |
| DoliDB | $db | Inherited from Controller |
from AbstractDocumentController |
| string | $tplPath | from Controller | |
| FormListWebPortal | $formList | from Controller |
Methods
Action method is called before HTML output.
Check access rights for this page.
Build and display the page.
No description
Execute hook PrintPageView
No description
Renders an HTML file browser table for a given list of files and directories.
Details
void
__construct()
Constructor
int
action()
Action method is called before HTML output.
bool
checkAccess()
Check access rights for this page.
void
display()
Build and display the page.
void
display404()
No description
int
hookDoAction(array<string, mixed> $parameters = array())
Execute hook doActions
int
hookPrintPageView(array<string, mixed> $parameters = array())
Execute hook PrintPageView
bool
loadTemplate(string $templateName, false|mixed $vars = 'false')
No description
protected void
displayDocumentTable(string $title, array<int, array<string, mixed>> $itemList, string $emptyMessage, array $linkBuilder)
Renders an HTML file browser table for a given list of files and directories.