Actions

API16

JProfiler/ construct

< API16:JProfiler

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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


Advertisement