public function unserialize($data)
    {
        $vars = unserialize($data);
        foreach ($vars as $var => $value) {
            $this->{$var} = $value;
        }
    }
public function unserialize($data)
    {
        $vars = unserialize($data);
        foreach ($vars as $var => $value) {
            $this->{$var} = $value;
        }
    }
public function unserialize ( $ data ) { $ vars = unserialize ( $ data ) ; foreach ( $ vars as $ var => $ value ) { $ this -> { $ var } = $ value ; } }
Takes the string representation of this object so it can be reconstructed.

@param string $data serialized string
@return void
Takes the string representation of this object so it can be reconstructed .