public function getFeed($location, $className = 'Zend_Gdata_Feed')
    {
        if (is_string($location)) {
            $uri = $location;
        } elseif ($location instanceof Zend_Gdata_Query) {
            $uri = $location->getQueryUrl();
        } else {
            require_once 'Zend/Gdata/App/InvalidArgumentException.php';
            throw new Zend_Gdata_App_InvalidArgumentException(
                'You must specify the location as either a string URI ' .
                'or a child of Zend_Gdata_Query');
        }
        return parent::getFeed($uri, $className);
    }
public function getFeed($location, $className = 'Zend_Gdata_Feed')
    {
        if (is_string($location)) {
            $uri = $location;
        } elseif ($location instanceof Zend_Gdata_Query) {
            $uri = $location->getQueryUrl();
        } else {
            require_once 'Zend/Gdata/App/InvalidArgumentException.php';
            throw new Zend_Gdata_App_InvalidArgumentException(
                'You must specify the location as either a string URI ' .
                'or a child of Zend_Gdata_Query');
        }
        return parent::getFeed($uri, $className);
    }
public function getFeed ( $ location , $ className = 'Zend_Gdata_Feed' ) { if ( is_string ( $ location ) ) { $ uri = $ location ; } elseif ( $ location instanceof Zend_Gdata_Query ) { $ uri = $ location -> getQueryUrl ( ) ; } else { require_once 'Zend/Gdata/App/InvalidArgumentException.php' ; throw new Zend_Gdata_App_InvalidArgumentException ( 'You must specify the location as either a string URI ' . 'or a child of Zend_Gdata_Query' ) ; } return parent :: getFeed ( $ uri , $ className ) ; }
Retrieve feed as string or object

@param mixed $location The location as string or Zend_Gdata_Query
@param string $className The class type to use for returning the feed
@throws Zend_Gdata_App_InvalidArgumentException
@return string|Zend_Gdata_App_Feed Returns string only if the object
mapping has been disabled explicitly
by passing false to the
useObjectMapping() function.
Retrieve feed as string or object