HtmlReporter::__construct PHP Method

__construct() public method

The first output will be sent on the first test start. For use by a web browser.
public __construct ( $charset = 'utf-8' )
    public function __construct($charset = 'utf-8')
    {
        parent::__construct();
        $this->charset = $charset;
    }

Usage Example

示例#1
0
 /**
  * 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();
 }
All Usage Examples Of HtmlReporter::__construct