Example #1
0
 public function __construct($profileConfig)
 {
     if (isset($profileConfig['visible']) && $profileConfig['visible']) {
         $this->visible = true;
     }
     parent::__construct($profileConfig);
 }
Example #2
0
 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";
 }