ErrorView
class ErrorView extends View (View source)
Properties
static protected | $requestInstance | from AbstractView | |
static protected | $requestInstances | from AbstractView | |
protected | $scopeItems | from AbstractView | |
$controller | from AbstractView | ||
protected | $template | from AbstractView | |
protected | $outputAssets | from AbstractView | |
protected | $viewPath | from View | |
protected | $innerContentFile | from View | |
protected | $themeHandle | from View | |
protected | $themeObject | from View | |
protected | $themeRelativePath | from View | |
protected | $themeAbsolutePath | from View | |
protected | $viewPkgHandle | from View | |
protected | $themePkgHandle | from View | |
protected | $viewRootDirectoryName | from View | |
protected | $error |
Methods
No description
No description
A shortcut to posting back to the current page with a task and optional parameters. Only works in the context of.
No description
No description
url is a utility function that is used inside a view to setup urls w/tasks and parameters.
No description
Load all the theme-related variables for which theme to use for this request.
No description
Details
getViewTemplate()
No description
addScopeItems($items)
No description
static
getRequestInstance()
No description
__construct($mixed = false)
No description
static protected
setRequestInstance(View $v)
No description
static protected
revertRequestInstance()
No description
in
View at line 166
start($state)
Begin the render.
in
View at line 189
startRender()
No description
protected
constructView($error = false)
No description
setupRender()
No description
in
View at line 264
finishRender($contents)
No description
action($action)
A shortcut to posting back to the current page with a task and optional parameters. Only works in the context of.
addHeaderAsset($asset)
No description
addFooterAsset($asset)
No description
addOutputAsset($asset)
No description
requireAsset($assetType, $assetHandle = false)
No description
setController($controller)
No description
setViewTemplate($template)
No description
post($key, $defaultValue = null)
Returns the value of the item in the POST array.
protected
onBeforeGetContents()
No description
in
View at line 297
postProcessViewContents($contents)
No description
protected
onAfterGetContents()
No description
getScopeItems()
No description
render($state = false)
No description
in
View at line 205
renderViewContents($scopeItems)
No description
static string
url(string $action, string $task = null)
deprecated
deprecated
url is a utility function that is used inside a view to setup urls w/tasks and parameters.
setThemeByPath($path, $theme = null, $wrapper = FILENAME_THEMES_VIEW)
No description
renderError($title, $error, $errorObj = null)
No description
addHeaderItem($item)
No description
addFooterItem($item)
No description
static View
getInstance()
No description
in
View at line 34
setPackageHandle($pkgHandle)
No description
in
View at line 39
getThemeDirectory()
No description
in
View at line 43
getViewPath()
No description
in
View at line 53
string
getThemePath()
gets the relative theme path for use in templates.
in
View at line 57
getThemeHandle()
No description
in
View at line 62
setInnerContentFile($innerContentFile)
No description
in
View at line 67
setViewRootDirectoryName($directory)
No description
in
View at line 72
inc($file, $args = [])
No description
in
View at line 121
setViewTheme($theme)
No description
in
View at line 138
protected
loadViewThemeObject()
Load all the theme-related variables for which theme to use for this request.
in
View at line 227
protected string
renderInnerContents($scopeItems)
Render the file set to $this->innerContentFile
in
View at line 245
protected string
renderTemplate($scopeItems, $innerContent)
Render the file set to $this->template
in
View at line 276
markHeaderAssetPosition()
Function responsible for outputting header items.
in
View at line 284
markFooterAssetPosition()
Function responsible for outputting footer items.
in
View at line 289
protected
getAssetsToOutput()
No description
in
View at line 309
protected
postProcessAssets($assets)
No description
in
View at line 366
protected
replaceEmptyAssetPlaceholders($pageContent)
No description
in
View at line 375
protected
replaceAssetPlaceholders($outputAssets, $pageContent)
No description
in
View at line 394
protected
outputAssetIntoView($item)
No description
in
View at line 404
static
element($_file, $args = null, $_pkgHandle = null)
No description
protected
runControllerTask()
No description