__construct() публичный Метод

Sets up indentation and namespace.
public __construct ( string $namespace = false, string $indent = ' ' )
$namespace string Namespace to add to each tag.
$indent string Indenting to add on each nesting.
 function __construct($test_name = FALSE)
 {
     $this->pre = microtime();
     parent::__construct($test_name);
 }
Пример #2
0
 /**
  * __construct constructor function
  *
  * @param bool $charset charset
  * @param bool $params  extra parameters
  *
  * @access public
  * @return void
  */
 public function __construct($charset = 'utf-8', $params = array())
 {
     parent::__construct();
     $this->_characterSet = $charset;
     $this->params = $params;
 }