eZPublishCommunityProject(LegacyStack)  2013.6
ezpKernelTreeMenu Class Reference

File containing the ezpKernelTreeMenu class. More...

+ Inheritance diagram for ezpKernelTreeMenu:
+ Collaboration diagram for ezpKernelTreeMenu:

Public Member Functions

 __construct (array $settings=array())
 
 getServiceContainer ()
 Returns the Symfony service container if it has been injected, otherwise returns null. More...
 
 hasServiceContainer ()
 Checks whether the kernel handler has the Symfony service container container or not. More...
 
 reInitialize ()
 Reinitializes the kernel environment. More...
 
 run ()
 Execution point for controller actions. More...
 
 runCallback (\Closure $callback, $postReinitialize=true)
 Not supported by ezpKernelTreeMenu. More...
 
 setUseExceptions ($useExceptions)
 Sets whether to use exceptions inside the kernel. More...
 

Protected Member Functions

 exitWithInternalError ($errorMessage, $errorCode=500)
 Handles an internal error. More...
 
 sessionInit ()
 Initializes the session. More...
 
 shutdown ($reInitialize=true)
 Runs the shutdown process. More...
 

Protected Attributes

 $access
 
 $isInitialized = false
 
 $settings
 
 $uri
 

Detailed Description

File containing the ezpKernelTreeMenu class.

Version
2013.6

Constructor & Destructor Documentation

ezpKernelTreeMenu::__construct ( array  $settings = array())

Member Function Documentation

ezpKernelTreeMenu::exitWithInternalError (   $errorMessage,
  $errorCode = 500 
)
protected

Handles an internal error.

If not using exceptions, will return an ezpKernelResult object with JSON encoded message.

Parameters
string$errorMessage
int$errorCode
Returns
ezpKernelResult
Exceptions
RuntimeException
ezpAccessDenied
See Also
setUseExceptions()

Referenced by run().

ezpKernelTreeMenu::getServiceContainer ( )

Returns the Symfony service container if it has been injected, otherwise returns null.

Returns
|null

Implements ezpKernelHandler.

ezpKernelTreeMenu::hasServiceContainer ( )

Checks whether the kernel handler has the Symfony service container container or not.

Returns
bool

Implements ezpKernelHandler.

ezpKernelTreeMenu::reInitialize ( )

Reinitializes the kernel environment.

Returns
void

Implements ezpKernelHandler.

ezpKernelTreeMenu::run ( )

Execution point for controller actions.

Returns false if not supported

Returns
ezpKernelResult

Implements ezpKernelHandler.

ezpKernelTreeMenu::runCallback ( \Closure  $callback,
  $postReinitialize = true 
)

Not supported by ezpKernelTreeMenu.

Exceptions
\RuntimeException

Implements ezpKernelHandler.

ezpKernelTreeMenu::sessionInit ( )
protected

Initializes the session.

If running, through Symfony the session parameters from Symfony override the session parameter from eZ Publish.

Referenced by run().

ezpKernelTreeMenu::setUseExceptions (   $useExceptions)

Sets whether to use exceptions inside the kernel.

Parameters
bool$useExceptions

Implements ezpKernelHandler.

Referenced by __construct().

ezpKernelTreeMenu::shutdown (   $reInitialize = true)
protected

Runs the shutdown process.

Referenced by run().

Member Data Documentation

ezpKernelTreeMenu::$access
protected
ezpKernelTreeMenu::$isInitialized = false
protected
ezpKernelTreeMenu::$settings
protected

Referenced by __construct().

ezpKernelTreeMenu::$uri
protected

Referenced by __construct().


The documentation for this class was generated from the following file: