Gdata/Gapps/EmailListRecipientQuery.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: EmailListRecipientQuery.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Gdata_Gapps_EmailListRecipientQuery
Assists in constructing queries for Google Apps email list recipient entries.
Instances of this class can be provided in many places where a URL is required.
For information on submitting queries to a server, see the Google Apps service class, Zend_Gdata_Gapps.
- Parent(s)
- \Zend_Gdata_Gapps_Query < \Zend_Gdata_Query
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

string $_category = nullCategory for the query
Inherited from: \Zend_Gdata_Query::$$_category\Zend_Gdata_Gapps_Query::$$_categorynullDetails- Type
- string
- Inherited_from
- \Zend_Gdata_Query::$$_category
- Inherited_from
- \Zend_Gdata_Gapps_Query::$$_category

string $_defaultFeedUri = nullDefault URL
Inherited from: \Zend_Gdata_Query::$$_defaultFeedUri\Zend_Gdata_Gapps_Query::$$_defaultFeedUrinullDetails- Type
- string
- Inherited_from
- \Zend_Gdata_Query::$$_defaultFeedUri
- Inherited_from
- \Zend_Gdata_Gapps_Query::$$_defaultFeedUri

string $_domain = nullThe domain which is being administered via the Provisioning API.
Inherited from: \Zend_Gdata_Gapps_Query::$$_domainnullDetails- Type
- string
- Inherited_from
- \Zend_Gdata_Gapps_Query::$$_domain

string $_emailListName = nullIf not null, specifies the name of the email list which should be requested by this query.
nullDetails- Type
- string

array $_params = array()Query parameters.
Inherited from: \Zend_Gdata_Query::$$_params\Zend_Gdata_Gapps_Query::$$_paramsarray()Details- Type
- array
- Inherited_from
- \Zend_Gdata_Query::$$_params
- Inherited_from
- \Zend_Gdata_Gapps_Query::$$_params

string $_url = nullBase URL TODO: Add setters and getters
Inherited from: \Zend_Gdata_Query::$$_url\Zend_Gdata_Gapps_Query::$$_urlnullDetails- Type
- string
- Inherited_from
- \Zend_Gdata_Query::$$_url
- Inherited_from
- \Zend_Gdata_Gapps_Query::$$_url
Methods

__construct(string $domain = null, string $emailListName = null, string $startRecipient = null) : voidCreate a new instance.
| Name | Type | Description |
|---|---|---|
| $domain | string | (optional) The Google Apps-hosted domain to use when constructing query URIs. |
| $emailListName | string | (optional) Value for the emailListName property. |
| $startRecipient | string | (optional) Value for the startRecipient property. |

getBaseUrl(string $domain = null) : voidReturns the base URL used to access the Google Apps service, based on the current domain.
Inherited from: \Zend_Gdata_Gapps_Query::getBaseUrl()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
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

getEmailListName() : voidGet the email list name to query for.
If no name is set, null will be returned.

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

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

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

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

getQueryUrl() : stringReturns the URL generated for this query, based on it's current parameters.
| Type | Description |
|---|---|
| string | A URL generated based on the state of this query. |
| Exception | Description |
|---|---|
| \Zend_Gdata_App_InvalidArgumentException |

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

getStartRecipient() : stringGet the first recipient which should be displayed when retrieving a list of email list recipients.
| Type | Description |
|---|---|
| string | The first recipient to be returned, or null if disabled. |

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

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

resetParameters() : void
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
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. |

setEmailListName(string $value) : voidSet the email list name to query for.
When set, only lists with a name matching this value will be returned in search results. Set to null to disable filtering by list name.
| Name | Type | Description |
|---|---|---|
| $value | string | The email list name to filter search results by, or null to disable. |

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 |

setStartRecipient(string $value) : voidSet the first recipient which should be displayed when retrieving a list of email list recipients.
| Name | Type | Description |
|---|---|---|
| $value | string | The first recipient to be returned, or null to disable. |

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 |