Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/zend/Zend/Gdata/Photos/PhotoQuery.php
Go to the documentation of this file.
00001 <?php
00002 
00027 require_once('Zend/Gdata/Photos/AlbumQuery.php');
00028 
00043 class Zend_Gdata_Photos_PhotoQuery extends Zend_Gdata_Photos_AlbumQuery
00044 {
00045 
00051     protected $_photoId = null;
00052 
00061      public function setPhotoId($value)
00062      {
00063          $this->_photoId = $value;
00064      }
00065 
00072     public function getPhotoId()
00073     {
00074         return $this->_photoId;
00075     }
00076 
00084     public function getQueryUrl($incomingUri = '')
00085     {
00086         $uri = '';
00087         if ($this->getPhotoId() !== null) {
00088             $uri .= '/photoid/' . $this->getPhotoId();
00089         } else {
00090             require_once 'Zend/Gdata/App/InvalidArgumentException.php';
00091             throw new Zend_Gdata_App_InvalidArgumentException(
00092                     'PhotoId cannot be null');
00093         }
00094         $uri .= $incomingUri;
00095         return parent::getQueryUrl($uri);
00096     }
00097 
00098 }
 All Data Structures Namespaces Files Functions Variables Enumerations