public function setFlag($flag)
	{
		if ( $flag == $this->getFlag() ) { return; }

		$this->_values['flag'] = (int) $flag;
		$this->setModified();
	}
public function setFlag($flag)
	{
		if ( $flag == $this->getFlag() ) { return; }

		$this->_values['flag'] = (int) $flag;
		$this->setModified();
	}
public function setFlag ( $ flag ) { if ( $ flag == $ this -> getFlag ( ) ) { return ; } $ this -> _values [ 'flag' ] = ( int ) $ flag ; $ this -> setModified ( ) ; }
Sets a new flag value.

@param integer $flag New flag value
Sets a new flag value .