本文整理匯總了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);
}