API16:JProfiler/ construct
From Joomla! Documentation
Description
Constructor
Syntax
__construct($prefix= '')
| Parameter Name | Default Value | Description |
|---|---|---|
| $prefix | Prefix for mark messages |
Defined in
libraries/joomla/error/profiler.php
Importing
jimport( 'joomla.error.profiler' );
Source Body
public function __construct($prefix = '')
{
$this->_start = $this->getmicrotime();
$this->_prefix = $prefix;
$this->_buffer = array();
$this->_iswin = (substr(PHP_OS, 0, 3) == 'WIN');
}
Examples
Code Examples