_photoId = $value; } /** * Get the photo ID which is to be returned. * * @see setPhoto * @return string The ID of the photo to retrieve. */ public function getPhotoId() { return $this->_photoId; } /** * Returns the URL generated for this query, based on it's current * parameters. * * @return string A URL generated based on the state of this query. * @throws Zend_Gdata_App_InvalidArgumentException */ public function getQueryUrl($incomingUri = '') { $uri = ''; if ($this->getPhotoId() !== null) { $uri .= '/photoid/' . $this->getPhotoId(); } else { #require_once 'Zend/Gdata/App/InvalidArgumentException.php'; throw new Zend_Gdata_App_InvalidArgumentException( 'PhotoId cannot be null'); } $uri .= $incomingUri; return parent::getQueryUrl($uri); } }