public function __construct($profileConfig) { if (isset($profileConfig['visible']) && $profileConfig['visible']) { $this->visible = true; } parent::__construct($profileConfig); }
function __construct($params) { global $wgRequestTime, $wgRUstart; parent::__construct($params); if (!empty($wgRequestTime) && !empty($wgRUstart)) { $this->mWorkStack[] = array('-total', 0, $wgRequestTime, $this->getCpuTime($wgRUstart), 0, ''); } $this->trace .= "Beginning extended trace: \n"; }