Summary
- File
- Package hierarchy Environment\context
- Class hierarchy \AppContext
This class manages all the environment services.
It's able to create each of them and return them.
This class manages all the environment services.
It's able to create each of them and return them.
get_uid() : integer
Returns a unique identifier (useful for example to generate some javascript ids)
Id
| None found |
set_request(\HTTPRequestCustom $request)
set the <code>HTTPRequestCustom</code>
| \HTTPRequestCustom | $request |
| None found |
get_request() : \HTTPRequestCustom
Returns the <code>HTTPRequestCustom</code> object
| None found |
set_response(\HTTPResponseCustom $response)
set the <code>HTTPResponseCustom</code>
| \HTTPResponseCustom | $response |
| None found |
get_response() : \HTTPResponseCustom
Returns the <code>HTTPResponseCustom</code> object
| None found |
init_bench()
Inits the bench
| None found |
get_bench() : \Bench
Returns the current page's bench
| None found |
set_session(\SessionData $session)
Sets the session
| \SessionData | $session |
| None found |
get_session() : \SessionData
Returns the current user's session
| None found |
init_current_user()
Inits the current user
| None found |
get_current_user() : \CurrentUser
Returns the current user
| None found |
set_current_user( $current_user)
| $current_user |
| None found |
get_cache_service() : \CacheService
Returns the cache service
| None found |
set_cache_service(\CacheService $cache_service)
| \CacheService | $cache_service |
| None found |
init_extension_provider_service()
Inits the extension provider service
| None found |
get_extension_provider_service() : \ExtensionPointProviderService
| None found |
get_mail_service() : \MailService
| None found |
get_content_formatting_service() : \ContentFormattingService
| None found |
get_captcha_service() : \CaptchaService
| None found |
$request : \HTTPRequestCustom
| None found |
$response : \HTTPRequestCustom
| None found |
$breadcrumb : \BreadCrumb
| None found |
$bench : \Bench
| None found |
$session : \Session
| None found |
$current_user : \CurrentUser
| None found |
$extension_provider_service : \ExtensionPointProviderService
| None found |
$cache_service : \CacheService
| None found |
$mail_service : \MailService
| None found |
$content_formatting_service : \ContentFormattingService
| None found |
$captcha_service : \CaptchaService
| None found |