quoteIdentifier = self::QUOTES_GUESS; parent::__construct( $options ); } /** * Set an option value * * @param string $propertyName * @param mixed $propertyValue * @throws ezcBasePropertyNotFoundException * If a property is not defined in this class * @throws ezcBaseValueException * If a property is out of range * @ignore */ public function __set( $propertyName, $propertyValue ) { switch ( $propertyName ) { case 'quoteIdentifier': if ( !is_numeric( $propertyValue ) || ( ( $propertyValue != self::QUOTES_COMPLIANT ) && ( $propertyValue != self::QUOTES_LEGACY ) && ( $propertyValue != self::QUOTES_GUESS ) && ( $propertyValue != self::QUOTES_UNTOUCHED ) ) ) { throw new ezcBaseValueException( $propertyName, $propertyValue, 'one of ezcDbMssqlOptions::QUOTES_COMPLIANT, QUOTES_LEGACY, QUOTES_GUESS, QUOTES_UNTOUCHED constants' ); } $this->quoteIdentifier = (int) $propertyValue; break; default: throw new ezcBasePropertyNotFoundException( $propertyName ); break; } } } ?>