View
class View extends AbstractView (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 | $attributeValue | ||
| protected | $attributeKey | ||
| protected | $attributeType | ||
| protected | $attributePkgHandle | ||
| protected | $templateLocator | ||
| protected | $controllerAction | 
Methods
No description
No description
No description
No description
No description
No description
No description
No description
url is a utility function that is used inside a view to setup urls w/tasks and parameters.
No description
No description
No description
No description
No description
No description
Details
        
                            
    getViewTemplate()
        
    
    No description
        
                            
    addScopeItems($items)
        
    
    No description
        
                static            
    getRequestInstance()
        
    
    No description
        
                            
    __construct(mixed $mixed = false)
        
    
    No description
        
                static    protected        
    setRequestInstance(View $v)
        
    
    No description
        
                static    protected        
    revertRequestInstance()
        
    
    No description
        
                            
    start($context)
        
    
    No description
        
                            
    startRender()
        
    
    No description
        
                    protected        
    constructView($mixed)
        
    
    No description
        
                            
    setupRender()
        
    
    No description
        
                            
    finishRender($contents)
        
    
    No description
        
                            
    action($action)
        
    
    No description
        
                            
    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
        
                    protected        
    postProcessViewContents($contents)
        
    
    No description
        
                    protected        
    onAfterGetContents()
        
    
    No description
        
                            
    getScopeItems()
        
    
    No description
        
                            
    render($state = false)
        
    
    No description
        
                            
    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()
        
    
    Get an instance of the View.
Note: In versions before 8.5.0a3, this method may return 'false' if it's called after the page is rendered (for example in middleware).
        
                    protected        
    getValue()
        
    
    No description
        
                    protected        
    getAttributeKey()
        
    
    No description
        
                    protected        
    getContextFromString($string)
        deprecated
    
    deprecated
No description
        
                            
    setupController()
        
    
    No description
        
                            
    runControllerTask()
        
    
    No description
        
                            
    field($fieldName)
        
    
    No description