Gdata/Gapps/Query.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- Gapps
- Version
- $Id: Query.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Gdata_Gapps_Query
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 class which inherits from this class.
- Parent(s)
- \Zend_Gdata_Query
- Children
- \Zend_Gdata_Gapps_OwnerQuery
- \Zend_Gdata_Gapps_MemberQuery
- \Zend_Gdata_Gapps_EmailListQuery
- \Zend_Gdata_Gapps_UserQuery
- \Zend_Gdata_Gapps_NicknameQuery
- \Zend_Gdata_Gapps_EmailListRecipientQuery
- \Zend_Gdata_Gapps_GroupQuery
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


string $_category = null
null
Details- Type
- string
- Inherited_from
- \Zend_Gdata_Query::$$_category


string $_defaultFeedUri = null
null
Details- Type
- string
- Inherited_from
- \Zend_Gdata_Query::$$_defaultFeedUri


string $_domain = null
The domain which is being administered via the Provisioning API.
null
Details- Type
- string


array $_params = array()
array()
Details- Type
- array
- Inherited_from
- \Zend_Gdata_Query::$$_params
Methods


__construct(string $domain = null) : void
Create a new instance.
Name | Type | Description |
---|---|---|
$domain | string | (optional) The Google Apps-hosted domain to use when constructing query URIs. |


__get( $name) : void
Name | Type | Description |
---|---|---|
$name |


__set( $name, $val) : void
Name | Type | Description |
---|---|---|
$name | ||
$val |


getAlt() : string
Type | Description |
---|---|
string | rss or atom |


getAuthor() : string
Type | Description |
---|---|
string | author |


getBaseUrl(string $domain = null) : void
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.
Name | Type | Description |
---|---|---|
$domain | string | (optional) A fully-qualified domain to use instead of the default domain for this service instance. |
- See
- \global\setDomain


getDomain() : string
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.
Type | Description |
---|---|
string | The domain to be used for this session, or null if not set. |
- See
- \global\setDomain


getMaxResults() : int
Type | Description |
---|---|
int | maxResults |


getParam(string $name) : void
Name | Type | Description |
---|---|---|
$name | string |


getPublishedMax() : string
Type | Description |
---|---|
string | publishedMax |


getPublishedMin() : string
Type | Description |
---|---|
string | publishedMin |


getQuery() : string
Type | Description |
---|---|
string | query |


getQueryString() : string
Type | Description |
---|---|
string | querystring |


getQueryUrl() : string
Type | Description |
---|---|
string | url |


getStartIndex() : int
Type | Description |
---|---|
int | startIndex |


getUpdatedMax() : string
Type | Description |
---|---|
string | updatedMax |


getUpdatedMin() : string
Type | Description |
---|---|
string | updatedMin |


setAlt(string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setAuthor(string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setCategory(string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setDomain(string $value) : void
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 Apps provisioning service.
Name | Type | Description |
---|---|---|
$value | string | The domain to be used for this session. |


setMaxResults(int $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | int |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setParam(string $name, string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$name | string | |
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setPublishedMax(string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setPublishedMin(string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setQuery(string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setStartIndex(int $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | int |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setUpdatedMax(string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |


setUpdatedMin(string $value) : \Zend_Gdata_Query
Name | Type | Description |
---|---|---|
$value | string |
Type | Description |
---|---|
\Zend_Gdata_Query | Provides a fluent interface |