ViewImageController
class ViewImageController extends Controller (View source)
Class for ViewImageController
Properties
| bool | $accessNeedLoggedUser | if this controller need logged user or not |
from Controller |
| bool | $accessRight | define current user access |
from Controller |
| bool | $controllerStatus | If controller is active |
from Controller |
| DoliDB | $db | from Controller | |
| string | $tplPath | from Controller | |
| FormListWebPortal | $formList | from Controller | |
| string | $action | ||
| int | $entity | ||
| string | $filename | ||
| string | $fullpath_original_file | ||
| string | $fullpath_original_file_osencoded | ||
| string | $modulepart | ||
| string | $original_file | ||
| string | $type |
Methods
int
action()
Action method is called before html output can be used to manage security and change context
bool
checkAccess()
Check current access to controller
void
display()
Display
int
hookPrintPageView(array<string, mixed> $parameters = array())
Execute hook PrintPageView
from
Controller
bool
loadTemplate(string $templateName, mixed $vars = false)
Load a template .tpl file
from
Controller
void
init()
Init
Details
void
__construct()
Constructor
int
action()
Action method is called before html output can be used to manage security and change context
bool
checkAccess()
Check current access to controller
void
display()
Display
void
display404()
Display error template
int
hookDoAction(array<string, mixed> $parameters = array())
Execute hook doActions
int
hookPrintPageView(array<string, mixed> $parameters = array())
Execute hook PrintPageView
bool
loadTemplate(string $templateName, mixed $vars = false)
Load a template .tpl file
void
init()
Init