public function setId( $key )
	{
		if( $key !== null )
		{
			$this->setCode($key);
			$this->_values['id'] = $this->_values['code'];
			$this->_modified = false;
		}
		else
		{
			$this->_values['id'] = null;
			$this->_modified = true;
		}
	}
public function setId( $key )
	{
		if( $key !== null )
		{
			$this->setCode($key);
			$this->_values['id'] = $this->_values['code'];
			$this->_modified = false;
		}
		else
		{
			$this->_values['id'] = null;
			$this->_modified = true;
		}
	}
public function setId ( $ key ) { if ( $ key !== null ) { $ this -> setCode ( $ key ) ; $ this -> _values [ 'id' ] = $ this -> _values [ 'code' ] ; $ this -> _modified = false ; } else { $ this -> _values [ 'id' ] = null ; $ this -> _modified = true ; } }
Sets the id of the language.

@param string $key Id to set
Sets the id of the language .