mixed) $array The initial options to set. * * @throws ezcBasePropertyNotFoundException * If a the value for the property options is not an instance of * @throws ezcBaseValueException * If a the value for a property is out of range. */ public function __construct( $array = array() ) { $this->properties['format'] = '[LOCALE].xml'; parent::__construct( $array ); } /** * Property write access. * * @throws ezcBasePropertyNotFoundException * If a desired property could not be found. * @throws ezcBaseSettingValueException * If a desired property value is out of range. * * @param string $propertyName Name of the property. * @param mixed $val The value for the property. * @ignore */ public function __set( $propertyName, $val ) { switch ( $propertyName ) { case 'location': if ( $val[strlen( $val ) - 1] != '/' ) { $val .= '/'; } break; case 'format': break; default: throw new ezcBaseSettingNotFoundException( $propertyName ); } $this->properties[$propertyName] = $val; } } ?>