Entities
class Entities extends DashboardPageController (View source)
Traits
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected | $helpers | from DashboardPageController | |
protected | $sets | from AbstractController | |
protected | $action | from PageController | |
protected | $request | from AbstractController | |
protected | $parameters | from PageController | |
protected | $view | from Controller | |
protected | $viewPath | from Controller | |
protected | $theme | from Controller | |
protected | $controllerActionPath | from Controller | |
protected | $themeViewTemplate | from Controller | |
protected | $supportsPageCache | from PageController | |
protected | $passThruBlocks | from PageController | |
protected | $replacement | from PageController | |
protected | $requestValidated | from PageController | |
protected | $restrictedMethods | from DashboardPageController | |
protected string|null | $customRequestPath | Custom request path - overrides Request::getPath() (useful when replacing controllers). | from PageController |
Page | $c | from PageController | |
protected | $error | from DashboardPageController | |
Token | $token | from DashboardPageController | |
protected EntityManager | $entityManager | from DashboardPageController |
Methods
Adds an item to the view's header. This item will then be automatically printed out before the
section of the page.Adds an item to the view's footer. This item will then be automatically printed out before the section of the page.
Given either a path or a Page object, this is a shortcut to 1. Grab the controller of THAT page.
Set the custom request path (useful when replacing controllers).
Get the custom request path (useful when replacing controllers).
Given a path to a single page, this command uses the CURRENT controller and renders the contents of the single page within this request. The current controller is not replaced, and has already fired (since it is meant to be called from within a view() or similar method).
Should this page be displayed using the user's language?
No description
No description
No description
No description
No description
No description
Details
in ApplicationAwareTrait at line 19
setApplication(Application $app)
Setter method for the application
in PageController at line 45
__construct(Page $c)
in AbstractController at line 29
mixed
getRequest()
in AbstractController at line 37
setRequest(mixed $request)
in AbstractController at line 42
requireAsset()
in AbstractController at line 54
addHeaderItem(string $item)
Adds an item to the view's header. This item will then be automatically printed out before the
section of the page.
in AbstractController at line 65
addFooterItem(string $item)
Adds an item to the view's footer. This item will then be automatically printed out before the section of the page.
in AbstractController at line 71
set($key, $val)
in PageController at line 112
getSets()
in AbstractController at line 81
shouldRunControllerTask()
in AbstractController at line 87
getHelperObjects()
in AbstractController at line 98
get($key = null, $defaultValue = null)
in AbstractController at line 117
getTask()
in AbstractController at line 122
getAction()
in AbstractController at line 127
getParameters()
on_start()
on_before_render()
in AbstractController at line 143
isPost()
deprecated
deprecated
in AbstractController at line 148
post($key = null, $defaultValue = null)
in AbstractController at line 153
redirect()
in AbstractController at line 161
runTask($action, $parameters)
in AbstractController at line 166
runAction($action, $parameters = array())
in AbstractController at line 177
request($key = null)
in Controller at line 17
setViewObject(AbstractView $view)
in Controller at line 22
setTheme($mixed)
in PageController at line 164
getTheme()
in Controller at line 45
setThemeViewTemplate($template)
in Controller at line 49
getThemeViewTemplate()
in PageController at line 191
getControllerActionPath()
in Controller at line 89
getViewObject()
in Controller at line 99
action()
in PageController at line 40
supportsPageCache()
in PageController at line 63
replace(@string|Page $var)
Given either a path or a Page object, this is a shortcut to 1. Grab the controller of THAT page.
- Grab the view of THAT controller
- Render that view.
- Exit – so we immediately stop all other output in the controller that called render().
in PageController at line 87
setCustomRequestPath(string|null $requestPath)
Set the custom request path (useful when replacing controllers).
in PageController at line 97
string|null
getCustomRequestPath()
Get the custom request path (useful when replacing controllers).
in PageController at line 102
isReplaced()
in PageController at line 107
getReplacement()
in PageController at line 135
render($path, $pkgHandle = null)
Given a path to a single page, this command uses the CURRENT controller and renders the contents of the single page within this request. The current controller is not replaced, and has already fired (since it is meant to be called from within a view() or similar method).
in PageController at line 153
getPageObject()
in PageController at line 158
flash($key, $value, $isHTML = false)
in PageController at line 181
getRequestAction()
in PageController at line 186
getRequestActionParameters()
in PageController at line 202
setupRequestActionAndParameters(Request $request)
in PageController at line 258
isValidControllerTask($action, $parameters = array())
in PageController at line 281
setPassThruBlockController(Block $b, BlockController $controller)
in PageController at line 286
getPassThruBlockController(Block $b)
in PageController at line 293
validateRequest()
bool
useUserLocale()
Should this page be displayed using the user's language?