Actions

API16

JProfiler/ construct

From Joomla! Documentation

< API16:JProfiler
Revision as of 17:47, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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

[Edit Descripton]

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 />