API16

API16:JProfiler/ construct

From Joomla! Documentation

Revision as of 01:59, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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