equal
deleted
inserted
replaced
14 * to license@zend.com so we can send you a copy immediately. |
14 * to license@zend.com so we can send you a copy immediately. |
15 * |
15 * |
16 * @category Zend |
16 * @category Zend |
17 * @package Zend_Gdata |
17 * @package Zend_Gdata |
18 * @subpackage Gapps |
18 * @subpackage Gapps |
19 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
20 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @license http://framework.zend.com/license/new-bsd New BSD License |
21 * @version $Id:$ |
21 * @version $Id:$ |
22 */ |
22 */ |
23 |
23 |
24 /** |
24 /** |
35 * service class, Zend_Gdata_Gapps. |
35 * service class, Zend_Gdata_Gapps. |
36 * |
36 * |
37 * @category Zend |
37 * @category Zend |
38 * @package Zend_Gdata |
38 * @package Zend_Gdata |
39 * @subpackage Gapps |
39 * @subpackage Gapps |
40 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
40 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
41 * @license http://framework.zend.com/license/new-bsd New BSD License |
41 * @license http://framework.zend.com/license/new-bsd New BSD License |
42 */ |
42 */ |
43 class Zend_Gdata_Gapps_OwnerQuery extends Zend_Gdata_Gapps_Query |
43 class Zend_Gdata_Gapps_OwnerQuery extends Zend_Gdata_Gapps_Query |
44 { |
44 { |
45 |
45 |
74 |
74 |
75 /** |
75 /** |
76 * Set the group id to query for. |
76 * Set the group id to query for. |
77 * |
77 * |
78 * @see getGroupId |
78 * @see getGroupId |
79 * @param string $value |
79 * @param string $value |
80 */ |
80 */ |
81 public function setGroupId($value) |
81 public function setGroupId($value) |
82 { |
82 { |
83 $this->_groupId = $value; |
83 $this->_groupId = $value; |
84 } |
84 } |
131 } else { |
131 } else { |
132 require_once 'Zend/Gdata/App/InvalidArgumentException.php'; |
132 require_once 'Zend/Gdata/App/InvalidArgumentException.php'; |
133 throw new Zend_Gdata_App_InvalidArgumentException( |
133 throw new Zend_Gdata_App_InvalidArgumentException( |
134 'groupId must not be null'); |
134 'groupId must not be null'); |
135 } |
135 } |
136 |
136 |
137 $uri .= '/owner'; |
137 $uri .= '/owner'; |
138 |
138 |
139 if ($this->_ownerEmail !== null) { |
139 if ($this->_ownerEmail !== null) { |
140 $uri .= '/' . $this->_ownerEmail; |
140 $uri .= '/' . $this->_ownerEmail; |
141 } |
141 } |
142 |
142 |
143 $uri .= $this->getQueryString(); |
143 $uri .= $this->getQueryString(); |