API16:JProfiler/ construct
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
Constructor
Description:JProfiler/ construct
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'); }
[Edit See Also] SeeAlso:JProfiler/ construct
Examples
<CodeExamplesForm />
