BACKEND
BACKEND
Represents the content-view application.
$_listeners : array<mixed,\Fuman_Application_Listener>
(initialized in constructor!)
$_navigationListeners : array<mixed,\Fuman_Navigation_Listener>
$_recordListeners : array<mixed,\Fuman_Db_Record_Listener>
$_router : \Fuman_Action_Router
Fuman_Action_Router
$_uriBuilders : array<mixed,\Fuman_Uri_AbstractBuilder>
$_navigations : array<mixed,\Fuman_Navigation>
$_themes : array<mixed,\Fuman_Theme>
__construct() : \Fuman_Application_Abstract
Create Instance of Factory and set Application and Factory on Session
addListener(\Fuman_Application_Listener $listener, integer $priority) : void
Adds application listener
\Fuman_Application_Listener | $listener | |
integer | $priority |
removeListener(\Fuman_Application_Listener $listener) : void
Removes application listener
\Fuman_Application_Listener | $listener |
addRecordListener(\Fuman_Db_Record_Listener $listener) : void
Adds record listener
\Fuman_Db_Record_Listener | $listener |
removeRecordListener(\Fuman_Db_Record_Listener $listener) : void
Removes record listener
\Fuman_Db_Record_Listener | $listener |
getRecordListeners() : array<mixed,\Fuman_Db_Record_Listener>
Gets record listeners
getRouter() : \Fuman_Action_Router
Get {@link Fuman_Action_Router}
setRouter(\Fuman_Action_Router $router) : void
Sets router
\Fuman_Action_Router | $router |
getTheme(string|null $name = null) : \Fuman_Theme|\Fuman_Frontend_Theme
Returns theme
If name is null, the default theme will be returned (first added theme)
string|null | $name |
addUriBuilder(string $name, \Fuman_Uri_AbstractBuilder $uriBuilder) : void
Adds uri
string | $name | |
\Fuman_Uri_AbstractBuilder | $uriBuilder |
getUriBuilder(string|null $name = null, boolean $autoCreate = false, null $addLanguage = null) : \Fuman_Uri_AbstractBuilder
Returns uri
If name is null, the default uri will be returned (first added uri)
string|null | $name | |
boolean | $autoCreate | |
null | $addLanguage |
addTheme(string $name, \Fuman_Theme $theme) : void
Adds theme
string | $name | |
\Fuman_Theme | $theme |
getNavigation(string|null $name = null) : \Fuman_Navigation|\Fuman_Frontend_Sitemap_Navigation
Returns navigation
If name is null, the default navigation will be returned (first added navigation)
string|null | $name |
addNavigation(string $name, \Fuman_Navigation $navigation) : void
Adds navigation
string | $name | |
\Fuman_Navigation | $navigation |
addNavigationListener(\Fuman_Navigation_Listener $listener) : void
Adds table listener
\Fuman_Navigation_Listener | $listener |
removeNavigationListener(\Fuman_Navigation_Listener $listener) : void
Removes table listener
\Fuman_Navigation_Listener | $listener |
getNavigationListeners() : array<mixed,\Fuman_Navigation_Listener>
Gets the navigation listeners
getMaxExecutionTime(integer $maxSeconds, boolean $real = false) : integer
Gets the max time (beginning 1970) which can be used in a while-pseudo-thread
integer | $maxSeconds | The maximum of seconds to execute (max is 5 minutes) |
boolean | $real | Real value, not ceiled to 5 minutes |