public function readReference()
    {
        $key = $this->_stream->readInt();
        if (!array_key_exists($key, $this->_reference)) {
            require_once 'Zend/Amf/Exception.php';
            throw new Zend_Amf_Exception('Invalid reference key: '. $key);
        }
        return $this->_reference[$key];
    }
public function readReference()
    {
        $key = $this->_stream->readInt();
        if (!array_key_exists($key, $this->_reference)) {
            require_once 'Zend/Amf/Exception.php';
            throw new Zend_Amf_Exception('Invalid reference key: '. $key);
        }
        return $this->_reference[$key];
    }
public function readReference ( ) { $ key = $ this -> _stream -> readInt ( ) ; if ( ! array_key_exists ( $ key , $ this -> _reference ) ) { require_once 'Zend/Amf/Exception.php' ; throw new Zend_Amf_Exception ( 'Invalid reference key: ' . $ key ) ; } return $ this -> _reference [ $ key ] ; }
Read reference objects

Used to gain access to the private array of reference objects.
Called when marker type is 7.

@return object
@throws Zend_Amf_Exception for invalid reference keys
Read reference objects