View
in package
FinalYes
Table of Contents
Methods
- addNotificationOption() : string
- baseRender() : string
- error404() : mixed
- error500() : mixed
- render() : string
- renderWithFeedback() : string
- withValidationErrors() : string
Methods
addNotificationOption()
public
static addNotificationOption(string $notificationNamespace) : string
Parameters
- $notificationNamespace : string
Return values
stringbaseRender()
public
static baseRender(string $viewPath[, array<string|int, mixed> $vars = [] ]) : string
Parameters
- $viewPath : string
- $vars : array<string|int, mixed> = []
Return values
stringerror404()
public
static error404(string $view, string $msg) : mixed
Parameters
- $view : string
- $msg : string
error500()
public
static error500(string $view, string $msg) : mixed
Parameters
- $view : string
- $msg : string
render()
public
static render(string $view[, array<string|int, mixed> $vars = [] ][, string $viewRootPath = '' ]) : string
Parameters
- $view : string
- $vars : array<string|int, mixed> = []
- $viewRootPath : string = ''
Return values
stringrenderWithFeedback()
public
static renderWithFeedback(string $view, string $type, string $msg[, bool $blockPage = false ]) : string
Parameters
- $view : string
- $type : string
- $msg : string
- $blockPage : bool = false
Return values
stringwithValidationErrors()
public
static withValidationErrors(string $view[, array<string|int, mixed> $errors = [] ], string $msg[, bool $blockPage = false ]) : string
Parameters
- $view : string
- $errors : array<string|int, mixed> = []
- $msg : string
- $blockPage : bool = false