public function load()
    {
        if (empty($this->href)) {
            throw new PmpException('No href set for document!');
        } else {
            $doc = $this->_request('get', $this->href);
            $this->setDocument($doc);
        }
        return $this;
    }
public function load()
    {
        if (empty($this->href)) {
            throw new PmpException('No href set for document!');
        } else {
            $doc = $this->_request('get', $this->href);
            $this->setDocument($doc);
        }
        return $this;
    }
public function load ( ) { if ( empty ( $ this -> href ) ) { throw new PmpException ( 'No href set for document!' ) ; } else { $ doc = $ this -> _request ( 'get' , $ this -> href ) ; $ this -> setDocument ( $ doc ) ; } return $ this ; }
Load this document from the remote server

@return self
Load this document from the remote server