public function unserialize($serialized)
    {
        $results = (array)(unserialize($serialized) ?: []);
        $this->_results = SplFixedArray::fromArray($results);
        $this->_useBuffering = true;
        $this->_count = $this->_results->count();
    }
public function unserialize($serialized)
    {
        $results = (array)(unserialize($serialized) ?: []);
        $this->_results = SplFixedArray::fromArray($results);
        $this->_useBuffering = true;
        $this->_count = $this->_results->count();
    }
public function unserialize ( $ serialized ) { $ results = ( array ) ( unserialize ( $ serialized ) ? : [ ] ) ; $ this -> _results = SplFixedArray :: fromArray ( $ results ) ; $ this -> _useBuffering = true ; $ this -> _count = $ this -> _results -> count ( ) ; }
Unserializes a resultset.

Part of Serializable interface.

@param string $serialized Serialized object
@return void
Unserializes a resultset .