dolibarr 23.0.3
SharedDocumentsController Class Reference

Class for SharedDocumentsController. More...

Inheritance diagram for SharedDocumentsController:
Collaboration diagram for SharedDocumentsController:

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.
 

Detailed Description

Class for SharedDocumentsController.

Definition at line 24 of file shareddocuments.controller.class.php.

Member Function Documentation

◆ action()

SharedDocumentsController::action ( )

Action method is called before html output.

Returns
int

Reimplemented from Controller.

Definition at line 45 of file shareddocuments.controller.class.php.

References $context, dol_sanitizeFileName(), and Context\getInstance().

◆ checkAccess()

SharedDocumentsController::checkAccess ( )

Check access rights for this page.

Returns
bool

Reimplemented from Controller.

Definition at line 34 of file shareddocuments.controller.class.php.

References getDolGlobalInt().

◆ display()

SharedDocumentsController::display ( )

Build and display the page.

Returns
void
Parameters
array<string,mixed>$dir
Returns
string
Parameters
array<string,mixed>$file
Returns
string

Reimplemented from Controller.

Definition at line 77 of file shareddocuments.controller.class.php.

References $context, Controller\display404(), AbstractDocumentController\displayDocumentTable(), dol_dir_list(), dol_htmlentities(), getDolGlobalString(), Context\getInstance(), and Controller\loadTemplate().


The documentation for this class was generated from the following file: