本文整理汇总了PHP中HtmlReporter::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP HtmlReporter::__construct方法的具体用法?PHP HtmlReporter::__construct怎么用?PHP HtmlReporter::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HtmlReporter
的用法示例。
在下文中一共展示了HtmlReporter::__construct方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
/**
* Constructor.
*
* @param bool $showpasses Whether this reporter should output anything for passes.
*/
function __construct($showpasses)
{
parent::__construct('UTF-8');
$this->showpasses = $showpasses;
$this->strrunonlyfolder = $this->get_string('runonlyfolder');
$this->strrunonlyfile = $this->get_string('runonlyfile');
$this->strseparator = get_separator();
}
示例2:
function __construct($coverage)
{
parent::__construct();
$this->coverage = $coverage;
}
示例3:
function __construct($charset = NULL)
{
if (is_null($charset)) {
global $io_charset;
$charset = $io_charset;
}
parent::__construct($charset);
}
示例4: __construct
public function __construct()
{
parent::__construct();
$this->HtmlReporter();
}
示例5:
/**
* Constructor sets character set.
*
* @access public
* @param string $character_set
* @return void
*/
function __construct($character_set = 'UTF-8')
{
parent::__construct();
$this->character_set = $character_set;
}
示例6: __construct
public function __construct($character_set = 'ISO-8859-1')
{
parent::__construct($character_set);
}