original_string: public function flagDirty($name, $dirty = true)
  	{
  		if (!$this->_dirty)	$this->_dirty = array();
  		if ($dirty) {
  			$this->_dirty[$name] = true;
  		} else {
  			if (array_key_exists($name, $this->_dirty)) {
  				unset($this->_dirty[$name]);
  			}
  		}
  	}
code: public function flagDirty($name, $dirty = true)
  	{
  		if (!$this->_dirty)	$this->_dirty = array();
  		if ($dirty) {
  			$this->_dirty[$name] = true;
  		} else {
  			if (array_key_exists($name, $this->_dirty)) {
  				unset($this->_dirty[$name]);
  			}
  		}
  	}
code_tokens: public function flagDirty ( $ name , $ dirty = true ) { if ( ! $ this -> _dirty ) $ this -> _dirty = array ( ) ; if ( $ dirty ) { $ this -> _dirty [ $ name ] = true ; } else { if ( array_key_exists ( $ name , $ this -> _dirty ) ) { unset ( $ this -> _dirty [ $ name ] ) ; } } }
docstring: Flags an attribute as dirty.
  
  @param string $name Attribute name
docstring_tokens: Flags an attribute as dirty .