WP Profiler
Public Member Functions | Public Attributes | Protected Attributes | List of all members
WPProfiler\Core\CollectorAbstract Class Reference
Inheritance diagram for WPProfiler\Core\CollectorAbstract:
WPProfiler\Core\CollectorInterface WPProfiler\Core\Collectors\Db WPProfiler\Core\Collectors\Function_ WPProfiler\Core\Collectors\FunctionTracer WPProfiler\Core\Collectors\Hook WPProfiler\Core\Collectors\Query WPProfiler\Core\Collectors\Request

Public Member Functions

 __construct (Profiler $profiler)
 
 build_report_filename ($parts)
 
 init ()
 
 enable ()
 
 disable ()
 
- Public Member Functions inherited from WPProfiler\Core\CollectorInterface
 get ($data=null)
 

Public Attributes

const NAME = ''
 
const BUILD_FILENAME_PRIORITY = 0
 

Protected Attributes

 $profiler
 
 $enabled = false
 

Constructor & Destructor Documentation

WPProfiler\Core\CollectorAbstract::__construct ( Profiler  $profiler)

CollectorAbstract constructor.

Parameters
\WPProfiler\Core\Profiler$profiler

Implements WPProfiler\Core\CollectorInterface.

Member Function Documentation

WPProfiler\Core\CollectorAbstract::build_report_filename (   $parts)
Parameters
$parts
Returns
mixed
WPProfiler\Core\CollectorAbstract::disable ( )
Returns
void

Implements WPProfiler\Core\CollectorInterface.

WPProfiler\Core\CollectorAbstract::enable ( )
Returns
void

Implements WPProfiler\Core\CollectorInterface.

WPProfiler\Core\CollectorAbstract::init ( )
Returns
mixed|void

Implements WPProfiler\Core\CollectorInterface.

Member Data Documentation

WPProfiler\Core\CollectorAbstract::$enabled = false
protected
WPProfiler\Core\CollectorAbstract::$profiler
protected
const WPProfiler\Core\CollectorAbstract::BUILD_FILENAME_PRIORITY = 0
const WPProfiler\Core\CollectorAbstract::NAME = ''

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