Gdata/Gapps/EmailListQuery.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Gdata
- Subpackage
- Gapps
- Version
- $Id$
\Zend_Gdata_Gapps_EmailListQuery
- Parent(s)
- \Zend_Gdata_Gapps_Query < \Zend_Gdata_Query
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods

__construct(string $domain = null, string $emailListName = null, string $recipient = null, string $startEmailListName = null) : voidCreate a new instance.
| Name | Type | Description |
|---|---|---|
| $domain | string | (optional) The Google Apps-hosted domain to use |
| $emailListName | string | (optional) Value for the emailListName |
| $recipient | string | (optional) Value for the recipient |
| $startEmailListName | string | (optional) Value for the |

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

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 |

getRecipient() : stringGet the recipient email address to query for. If no recipient is set, null will be returned.

getStartEmailListName() : stringGet the first email list which should be displayed when retrieving a list of email lists.
| Type | Description |
|---|---|
| string | The first email list to be returned, or null to disable. |

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. |

setRecipient(string $value) : voidSet the recipient to query for. When set, only subscribers with an email address matching this value will be returned in search results.
| Name | Type | Description |
|---|---|---|
| $value | string | The recipient email address to filter search results by, or null to disable. |