import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
* @subpackage Gapps
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Query.php 16971 2009-07-22 18:05:45Z mikaelkael $
|
||||
* @version $Id: Query.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -32,12 +32,12 @@ require_once('Zend/Gdata/Query.php');
|
||||
require_once('Zend/Gdata/Gapps.php');
|
||||
|
||||
/**
|
||||
* Assists in constructing queries for Google Apps entries. This class
|
||||
* Assists in constructing queries for Google Apps entries. This class
|
||||
* provides common methods used by all other Google Apps query classes.
|
||||
*
|
||||
* This class should never be instantiated directly. Instead, instantiate a
|
||||
* This class should never be instantiated directly. Instead, instantiate a
|
||||
* class which inherits from this class.
|
||||
*
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Gdata
|
||||
* @subpackage Gapps
|
||||
@ -46,18 +46,18 @@ require_once('Zend/Gdata/Gapps.php');
|
||||
*/
|
||||
abstract class Zend_Gdata_Gapps_Query extends Zend_Gdata_Query
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* The domain which is being administered via the Provisioning API.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $_domain = null;
|
||||
|
||||
|
||||
/**
|
||||
* Create a new instance.
|
||||
*
|
||||
* @param string $domain (optional) The Google Apps-hosted domain to use
|
||||
*
|
||||
* @param string $domain (optional) The Google Apps-hosted domain to use
|
||||
* when constructing query URIs.
|
||||
*/
|
||||
public function __construct($domain = null)
|
||||
@ -65,16 +65,16 @@ abstract class Zend_Gdata_Gapps_Query extends Zend_Gdata_Query
|
||||
parent::__construct();
|
||||
$this->_domain = $domain;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Set domain for this service instance. This should be a fully qualified
|
||||
* Set domain for this service instance. This should be a fully qualified
|
||||
* domain, such as 'foo.example.com'.
|
||||
*
|
||||
* This value is used when calculating URLs for retrieving and posting
|
||||
* entries. If no value is specified, a URL will have to be manually
|
||||
* constructed prior to using any methods which interact with the Google
|
||||
* This value is used when calculating URLs for retrieving and posting
|
||||
* entries. If no value is specified, a URL will have to be manually
|
||||
* constructed prior to using any methods which interact with the Google
|
||||
* Apps provisioning service.
|
||||
*
|
||||
*
|
||||
* @param string $value The domain to be used for this session.
|
||||
*/
|
||||
public function setDomain($value)
|
||||
@ -83,26 +83,26 @@ abstract class Zend_Gdata_Gapps_Query extends Zend_Gdata_Query
|
||||
}
|
||||
|
||||
/**
|
||||
* Get domain for this service instance. This should be a fully qualified
|
||||
* domain, such as 'foo.example.com'. If no domain is set, null will be
|
||||
* Get domain for this service instance. This should be a fully qualified
|
||||
* domain, such as 'foo.example.com'. If no domain is set, null will be
|
||||
* returned.
|
||||
*
|
||||
*
|
||||
* @see setDomain
|
||||
* @return string The domain to be used for this session, or null if not
|
||||
* @return string The domain to be used for this session, or null if not
|
||||
* set.
|
||||
*/
|
||||
public function getDomain()
|
||||
{
|
||||
return $this->_domain;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns the base URL used to access the Google Apps service, based
|
||||
* on the current domain. The current domain can be temporarily
|
||||
* Returns the base URL used to access the Google Apps service, based
|
||||
* on the current domain. The current domain can be temporarily
|
||||
* overridden by providing a fully qualified domain as $domain.
|
||||
*
|
||||
* @see setDomain
|
||||
* @param string $domain (optional) A fully-qualified domain to use
|
||||
* @param string $domain (optional) A fully-qualified domain to use
|
||||
* instead of the default domain for this service instance.
|
||||
*/
|
||||
public function getBaseUrl($domain = null)
|
||||
|
Reference in New Issue
Block a user