public function setState($state)
	{
		if ( $state == $this->getState() ) { return; }

		$this->_values['state'] = (string) $state;
		$this->setModified();
	}
public function setState($state)
	{
		if ( $state == $this->getState() ) { return; }

		$this->_values['state'] = (string) $state;
		$this->setModified();
	}
public function setState ( $ state ) { if ( $ state == $ this -> getState ( ) ) { return ; } $ this -> _values [ 'state' ] = ( string ) $ state ; $ this -> setModified ( ) ; }
Sets a new state name.

@param string $state New state name
Sets a new state name .