ACTION_DESCRIPTORS_CONTAINER_NAME
ACTION_DESCRIPTORS_CONTAINER_NAME
Session container for action descriptors
Fuman_Registry holds all Objects
$_application : \Fuman_Application_Abstract
Fuman_Application
$_config : \Fuman_Config
Fuman_Config
$_factory : \Fuman_Factory
Fuman_Factory
$_databases : array
List of {@link Fuman_Db_Abstract}
Format: connectionName => Fuman_Db_Abstract
$_fumanTables : array
List of {@link Fuman_Table}
Format: uniqueNameOfTable => Fuman_Table
$_tableListeners : array<mixed,\Fuman_Registry_TableListener>
$_applicationListeners : array<mixed,\Fuman_Application_Listener>
$_request : \Fuman_Request
Fuman_Request
$_session : \Fuman_Session
Fuman_Session
$_runtimeSession : \Fuman_Session
Fuman_Session
$_response : \Fuman_Response_Abstract
Fuman_Response_Abstract
$_actionDescriptors : array<mixed,\Fuman_Action_Descriptor>
List of stdClass which are describing an action. {@link Fuman_Registry::describeAction($actionClassName)}
$_client : \Fuman_Client
Fuman_Client
$_systemMessages : \Fuman_System_Messages
System messages
$_cache : \Fuman_File_Cache
$_parser : \Fuman_Template_Parser
addDb(\Fuman_Db_Abstract $db) : void
Adds db
| \Fuman_Db_Abstract | $db |
getDb(string|null $name = null) : \Fuman_Db_Abstract
Returns a {@link Fuman_Db_Abstract} by name. {@link Fuman_Db_Abstract} which are not added yet, are beeing instantiated with information from {@link Fuman_Config}
| string|null | $name |
setApplication(\Fuman_Application_Abstract $application) : void
Set Fuman_Application
| \Fuman_Application_Abstract | $application |
getApplication() : \Fuman_Application_Abstract
Get Fuman_Application
setRequest(\Fuman_Request $request) : void
Set Fuman_Request
| \Fuman_Request | $request |
getRequest() : \Fuman_Request
Get Fuman_Request
getSession() : \Fuman_Session
Return Fuman_Session
getRuntimeSession() : \Fuman_Session
Gets runtime session (this is a non configurable session used for config caching, .
..)
setRuntimeSession(\Fuman_Session $session)
Sets runtime session
| \Fuman_Session | $session |
addApplicationListener(\Fuman_Application_Listener $listener, integer $priority) : void
Adds application listener
| \Fuman_Application_Listener | $listener | |
| integer | $priority |
getApplicationListeners() : array<mixed,\Fuman_Application_Listener>
addTableListener(\Fuman_Registry_TableListener $listener) : void
Adds table listener
| \Fuman_Registry_TableListener | $listener |
removeTableListener(\Fuman_Registry_TableListener $listener) : void
Removes table listener
| \Fuman_Registry_TableListener | $listener |
addTable(\Fuman_Table $table) : void
Add {@link Fuman_Table}
| \Fuman_Table | $table |
getTable(string $uniqueName, boolean|null $autoCreate = null) : \Fuman_Table
Returns a Fuman Table
| string | $uniqueName | |
| boolean|null | $autoCreate | (if value is null the boolean of Application->isReady will be used as default) |
getTables(boolean $includeLazyLoaded = false) : array<mixed,\Fuman_Table>
Returns all {@link Fuman_Table} which are added to {@link Fuman_Registry}
| boolean | $includeLazyLoaded |
setConfig(\Fuman_Config $config) : void
Set {@link Fuman_Config}
| \Fuman_Config | $config |
getConfig() : \Fuman_Config
Get {@link Fuman_Config}
setFactory(\Fuman_Factory $factory) : void
Set {@link Fuman_Factory}
| \Fuman_Factory | $factory |
getFactory() : \Fuman_Factory
Return Set {@link Fuman_Factory}
setResponse(\Fuman_Response_Abstract|null $response = null) : void
Set {@link Fuman_Response_Abstract}
| \Fuman_Response_Abstract|null | $response |
getResponse() : \Fuman_Response_Abstract
Returns {@link Fuman_Response_Abstract}
getClient() : \Fuman_Client
Return {@link Fuman_Client}
getRecordListenerActionDescriptors() : array<mixed,\Fuman_Db_Record_Listener>
Gets action descriptors which listens to records
getActionDescriptor(string $actionClassName, boolean $autoAdd = true) : \Fuman_Action_Descriptor
Returns a stdClass which describes an {@link Fuman_Action_Abstract}.
| string | $actionClassName | |
| boolean | $autoAdd |
When $autoAdd false and action not added yet, a Exception will be thrown
getActionDescriptorFromConfig(string $actionConfigName, null|string $defaultClassName = null, boolean $autoAdd = true) : \Fuman_Action_Descriptor
Gets an action descriptor defined in config under [action]
| string | $actionConfigName | |
| null|string | $defaultClassName | |
| boolean | $autoAdd |
getActionDescriptors() : array<mixed,\Fuman_Action_Descriptor>
Gets action descriptors
getTranslation(string $key, string|null $language = null, \stdClass|null $args = null, boolean $addInlineTranslationSpan = false) : string
Returns a Translation. Shortcut for {@link Fuman_Table_Translation::getTranslation($key)}
| string | $key | |
| string|null | $language | |
| \stdClass|null | $args | |
| boolean | $addInlineTranslationSpan |
getAccessibleTranslation(string|\Fuman_Navigation_Item|\Fuman_Action_Abstract $key, string|null $title = null, boolean $addInlineTranslationSpan = false) : string
Gets accessible translation
| string|\Fuman_Navigation_Item|\Fuman_Action_Abstract | $key | |
| string|null | $title | |
| boolean | $addInlineTranslationSpan |
getSystemMessages() : \Fuman_System_Messages
Returns {@link Fuman_System_Messages}
getCache() : \Fuman_File_Cache
Returns {@link Fuman_Cache}
getParser() : \Fuman_Template_Parser
Gets parser