public function getPhotoFeed($location = null)
    {
        if ($location === null) {
            $uri = self::PICASA_BASE_FEED_URI . '/' .
                self::DEFAULT_PROJECTION . '/' .
                self::COMMUNITY_SEARCH_PATH;
        } else if ($location instanceof Zend_Gdata_Photos_UserQuery) {
            $location->setType('feed');
            $uri = $location->getQueryUrl();
        } else if ($location instanceof Zend_Gdata_Query) {
            $uri = $location->getQueryUrl();
        } else {
            $uri = $location;
        }
        return parent::getFeed($uri, 'Zend_Gdata_Photos_PhotoFeed');
    }
public function getPhotoFeed($location = null)
    {
        if ($location === null) {
            $uri = self::PICASA_BASE_FEED_URI . '/' .
                self::DEFAULT_PROJECTION . '/' .
                self::COMMUNITY_SEARCH_PATH;
        } else if ($location instanceof Zend_Gdata_Photos_UserQuery) {
            $location->setType('feed');
            $uri = $location->getQueryUrl();
        } else if ($location instanceof Zend_Gdata_Query) {
            $uri = $location->getQueryUrl();
        } else {
            $uri = $location;
        }
        return parent::getFeed($uri, 'Zend_Gdata_Photos_PhotoFeed');
    }
public function getPhotoFeed ( $ location = null ) { if ( $ location === null ) { $ uri = self :: PICASA_BASE_FEED_URI . '/' . self :: DEFAULT_PROJECTION . '/' . self :: COMMUNITY_SEARCH_PATH ; } else if ( $ location instanceof Zend_Gdata_Photos_UserQuery ) { $ location -> setType ( 'feed' ) ; $ uri = $ location -> getQueryUrl ( ) ; } else if ( $ location instanceof Zend_Gdata_Query ) { $ uri = $ location -> getQueryUrl ( ) ; } else { $ uri = $ location ; } return parent :: getFeed ( $ uri , 'Zend_Gdata_Photos_PhotoFeed' ) ; }
Retreive PhotoFeed object containing comments and tags associated
with a given photo.

@param mixed $location (optional) The location for the feed, as a URL
or Query. If not specified, the community search feed will
be returned instead.
@return Zend_Gdata_Photos_PhotoFeed
@throws Zend_Gdata_App_Exception
@throws Zend_Gdata_App_HttpException
Retreive PhotoFeed object containing comments and tags associated with a given photo .