Пример #1
0
 /**
  *
  * @param $template PHPCoverage_Util_Template       	
  * @param $title string       	
  * @param $charset string       	
  */
 protected function setTemplateVars(PHPCoverage_Util_Template $template, $title, $charset)
 {
     $template->setVar(array('title' => $title, 'charset' => $charset, 'link' => $this->getLink(TRUE), 'num_executable_lines' => $this->getNumExecutableLines(), 'num_executed_lines' => $this->getNumExecutedLines(), 'lines_executed_percent' => $this->getLineExecutedPercent(), 'date' => $template->getDate(), 'PHPCoverage_version' => '1.0', 'xdebug_version' => phpversion('xdebug'), 'php_version' => PHP_VERSION));
 }