dolibarr 24.0.0-beta
ViewImageController Class Reference

Class for ViewImageController. More...

Inheritance diagram for ViewImageController:
Collaboration diagram for ViewImageController:

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.
 
- Public Member Functions inherited from Controller
 __construct ()
 Constructor.
 
 display ()
 Display.
 
 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.
 

Detailed Description

Class for ViewImageController.

Definition at line 32 of file viewimage.controller.class.php.

Member Function Documentation

◆ action()

ViewImageController::action ( )

Action method is called before html output can be used to manage security and change context.

Returns
int Return integer < 0 on error, > 0 on success

Reimplemented from Controller.

Definition at line 321 of file viewimage.controller.class.php.

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

Referenced by init().

◆ checkAccess()

ViewImageController::checkAccess ( )

Check current access to controller.

Returns
bool

Reimplemented from Controller.

Definition at line 308 of file viewimage.controller.class.php.

◆ init()


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