mixed) $options */ public function __construct( array $options = array() ) { $this->schema = dirname( __FILE__ ) . '/data/docbook.xsd'; parent::__construct( $options ); } /** * Sets the option $name to $value. * * @throws ezcBasePropertyNotFoundException * if the property $name is not defined * @throws ezcBaseValueException * if $value is not correct for the property $name * @param string $name * @param mixed $value * @ignore */ public function __set( $name, $value ) { switch ( $name ) { case 'schema': if ( !is_file( $value ) || !is_readable( $value ) ) { throw new ezcBaseValueException( $name, $value, 'XML schema file' ); } $this->properties[$name] = (string) $value; break; default: parent::__set( $name, $value ); } } } ?>