Prepare all the various things that a view requires in order to load up the template properly (like the theme, the form variables, the status variables, etc. then call the view's loadTemplate() method and pass in the given template.
Override this method in a view to opt-out from the managed cache control and to set the cache headers yourself. (Like isImmediate() and similar methods)
API Tags:
Return:
(default true) to opt-in to itemId oriented cache control
Prepare all the various things that a view requires in order to load up the template properly (like the theme, the form variables, the status variables, etc. then call the view's loadTemplate() method and pass in the given template.
Parameters:
&$template:
API Tags:
Return:
GalleryStatus a status code array ('body' => string template or 'redirect' => array or 'returnUrl' => string redirection URL) GalleryTheme the current theme
Process possible permission errors when accessing a view.
If the given status indicates permission denied or missing object and this is a guest user, redirect to the login view. Otherwise return given status to be shown by the error handler. Missing object is treated like permission denied to avoid information disclosure by trying URLs with different ids.