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-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @copyright Copyright (c) 2005-2015 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: Gapps.php 24593 2012-01-05 20:35:02Z matthew $ |
21 * @version $Id$ |
22 */ |
22 */ |
23 |
23 |
24 /** |
24 /** |
25 * @see Zend_Gdata |
25 * @see Zend_Gdata |
26 */ |
26 */ |
74 * @link http://code.google.com/apis/apps/gdata_provisioning_api_v2.0_reference.html |
74 * @link http://code.google.com/apis/apps/gdata_provisioning_api_v2.0_reference.html |
75 * |
75 * |
76 * @category Zend |
76 * @category Zend |
77 * @package Zend_Gdata |
77 * @package Zend_Gdata |
78 * @subpackage Gapps |
78 * @subpackage Gapps |
79 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
79 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
80 * @license http://framework.zend.com/license/new-bsd New BSD License |
80 * @license http://framework.zend.com/license/new-bsd New BSD License |
81 */ |
81 */ |
82 class Zend_Gdata_Gapps extends Zend_Gdata |
82 class Zend_Gdata_Gapps extends Zend_Gdata |
83 { |
83 { |
84 |
84 |
193 * @throws Zend_Gdata_App_Exception |
193 * @throws Zend_Gdata_App_Exception |
194 * @throws Zend_Gdata_App_HttpException |
194 * @throws Zend_Gdata_App_HttpException |
195 * @throws Zend_Gdata_Gapps_ServiceException |
195 * @throws Zend_Gdata_Gapps_ServiceException |
196 * @return Zend_Gdata_App_Feed |
196 * @return Zend_Gdata_App_Feed |
197 */ |
197 */ |
198 public static function import($uri, $client = null, $className='Zend_Gdata_App_Feed') |
198 public static function import($uri, $client = null, $className='Zend_Gdata_App_Feed', $useObjectMapping = true) |
199 { |
199 { |
200 try { |
200 try { |
201 return parent::import($uri, $client, $className); |
201 return parent::import($uri, $client, $className, $useObjectMapping); |
202 } catch (Zend_Gdata_App_HttpException $e) { |
202 } catch (Zend_Gdata_App_HttpException $e) { |
203 self::throwServiceExceptionIfDetected($e); |
203 self::throwServiceExceptionIfDetected($e); |
204 } |
204 } |
205 } |
205 } |
206 |
206 |