eZPublishCommunityProject(LegacyStack)  2013.5
ezpRestDebug Class Reference

Public Member Functions

 __call ($method, $arguments)
 Generic safe way to access ezcDebug public methods. More...
 
 getReport ()
 Returns debug report. More...
 
 updateDebugSettings ()
 Initializes/updates debug settings, system wide. More...
 

Static Public Member Functions

static getInstance ()
 Singleton. More...
 
static isDebugEnabled ()
 Checks if debug is enabled (locally in rest.ini and globally in site.ini) More...
 

Private Member Functions

 __construct ()
 Private constructor. More...
 

Private Attributes

 $debug
 
 $eZDebug
 
 $restINI
 

Static Private Attributes

static $instance
 
static $isDebugEnabled
 

Constructor & Destructor Documentation

ezpRestDebug::__construct ( )
private

Private constructor.

Member Function Documentation

ezpRestDebug::__call (   $method,
  $arguments 
)

Generic safe way to access ezcDebug public methods.

Parameters
$method
$arguments
static ezpRestDebug::getInstance ( )
static

Singleton.

Get instance of the class

Referenced by ezpRestMvcController\createResult(), and ezpRestRouter\getCachedRoutes().

ezpRestDebug::getReport ( )

Returns debug report.

static ezpRestDebug::isDebugEnabled ( )
static

Checks if debug is enabled (locally in rest.ini and globally in site.ini)

Returns
bool

Referenced by ezpRestMvcController\createResult().

ezpRestDebug::updateDebugSettings ( )

Initializes/updates debug settings, system wide.

Member Data Documentation

ezpRestDebug::$debug
private
ezpRestDebug::$eZDebug
private
ezpRestDebug::$instance
staticprivate
ezpRestDebug::$isDebugEnabled
staticprivate
ezpRestDebug::$restINI
private

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