public function unserialize($data)
	{
		$this->__construct();

		$data = unserialize($data);

		if (isset($data['guest']))
		{
			$this->guest = $data['guest'];
			unset($data['guest']);
		}

		$this->set($data);
	}
public function unserialize($data)
	{
		$this->__construct();

		$data = unserialize($data);

		if (isset($data['guest']))
		{
			$this->guest = $data['guest'];
			unset($data['guest']);
		}

		$this->set($data);
	}
public function unserialize ( $ data ) { $ this -> __construct ( ) ; $ data = unserialize ( $ data ) ; if ( isset ( $ data [ 'guest' ] ) ) { $ this -> guest = $ data [ 'guest' ] ; unset ( $ data [ 'guest' ] ) ; } $ this -> set ( $ data ) ; }
Unserializes the data into a new model

@param   string  $data  The data to build from
@return  void
@since   2.1.0
Unserializes the data into a new model