示例#1
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options
  */
 public function __construct(array $options = array())
 {
     $this->xmlHeader = false;
     parent::__construct($options);
     // Do not fail on error by default in (X)Html documents, as they
     // often contain errors.
     $this->failOnError = false;
 }
示例#2
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options
  */
 public function __construct(array $options = array())
 {
     $this->schema = dirname(__FILE__) . '/data/docbook.xsd';
     parent::__construct($options);
 }
示例#3
0
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options
  */
 public function __construct(array $options = array())
 {
     $this->imageDir = sys_get_temp_dir();
     parent::__construct($options);
 }
 /**
  * Constructs an object with the specified values.
  *
  * @throws ezcBasePropertyNotFoundException
  *         if $options contains a property not defined
  * @throws ezcBaseValueException
  *         if $options contains a property with a value not allowed
  * @param array(string=>mixed) $options
  */
 public function __construct(array $options = array())
 {
     $this->relaxNgSchema = dirname(__FILE__) . '/../document/xml/ezxml/schema/ezxml_schema.rng';
     parent::__construct($options);
 }