public function remove($property, $value)
	{
		if ('_' == substr($property, 0, 1))
		{
			$this->setError("Can't access private properties");
			return false;
		}

		if (property_exists(__CLASS__, $property) || property_exists(__CLASS__, '_auxs_' . $property))
		{
			$this->setError("Can't remove value(s) from non-array property.");
			return false;
		}

		if (!property_exists(__CLASS__, '_auxv_' . $property))
		{
			$this->setError("Unknown property: $property");
			return false;
		}

		if (!isset($value))
		{
			return true;
		}

		if (!is_array($value))
		{
			$value = array($value);
		}

		$property = '_auxv_' . $property;

		foreach ($value as $v)
		{
			$v = strval($v);

			if (in_array($v, $this->$property))
			{
				$this->$property = array_diff($this->$property, array($v));
			}
		}

		return true;
	}
public function remove($property, $value)
	{
		if ('_' == substr($property, 0, 1))
		{
			$this->setError("Can't access private properties");
			return false;
		}

		if (property_exists(__CLASS__, $property) || property_exists(__CLASS__, '_auxs_' . $property))
		{
			$this->setError("Can't remove value(s) from non-array property.");
			return false;
		}

		if (!property_exists(__CLASS__, '_auxv_' . $property))
		{
			$this->setError("Unknown property: $property");
			return false;
		}

		if (!isset($value))
		{
			return true;
		}

		if (!is_array($value))
		{
			$value = array($value);
		}

		$property = '_auxv_' . $property;

		foreach ($value as $v)
		{
			$v = strval($v);

			if (in_array($v, $this->$property))
			{
				$this->$property = array_diff($this->$property, array($v));
			}
		}

		return true;
	}
public function remove ( $ property , $ value ) { if ( '_' == substr ( $ property , 0 , 1 ) ) { $ this -> setError ( "Can't access private properties" ) ; return false ; } if ( property_exists ( __CLASS__ , $ property ) || property_exists ( __CLASS__ , '_auxs_' . $ property ) ) { $ this -> setError ( "Can't remove value(s) from non-array property." ) ; return false ; } if ( ! property_exists ( __CLASS__ , '_auxv_' . $ property ) ) { $ this -> setError ( "Unknown property: $property" ) ; return false ; } if ( ! isset ( $ value ) ) { return true ; } if ( ! is_array ( $ value ) ) { $ value = array ( $ value ) ; } $ property = '_auxv_' . $ property ; foreach ( $ value as $ v ) { $ v = strval ( $ v ) ; if ( in_array ( $ v , $ this -> $ property ) ) { $ this -> $ property = array_diff ( $ this -> $ property , array ( $ v ) ) ; } } return true ; }
Remove from a list of values for multi-value properties

@param   string   $property  Property name
@param   array    $value     Property values
@return  boolean  True on success, False on error
Remove from a list of values for multi - value properties