Service/DeveloperGarden/Request/IpLocation/LocateIPRequest.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_Service
- Subpackage
- DeveloperGarden
- Version
- $Id: LocateIPRequest.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_DeveloperGarden_Request_IpLocation_LocateIPRequest
Package: Zend\Service\DeveloperGarden
- Parent(s)
- \Zend_Service_DeveloperGarden_Request_RequestAbstract
- Author
- Marco Kaiser
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

\Zend_Service_DeveloperGarden_Request_IpLocation_IpAddress $address = nullthe ip addresses to lookup for
Default value
nullDetails- Type
- \Zend_Service_DeveloperGarden_Request_IpLocation_IpAddress

integer $environment = null
inherited
environment value
Inherited from: \Zend_Service_DeveloperGarden_Request_RequestAbstract::$$environment
Default value
nullDetails- Type
- integer
- Inherited_from
- \Zend_Service_DeveloperGarden_Request_RequestAbstract::$$environment
Methods

__construct(integer $environment, \Zend_Service_DeveloperGarden_IpLocation_IpAddress | array $ip = null) : \Zend_Service_DeveloperGarden_Request_RequestAbstractconstructor give them the environment
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $environment | integer | |
| $ip | \Zend_Service_DeveloperGarden_IpLocation_IpAddress | array |
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Request_RequestAbstract |

getEnvironment() : integer
inherited
the current configured environment value
Inherited from: \Zend_Service_DeveloperGarden_Request_RequestAbstract::getEnvironment()
Returns
| Type | Description |
|---|---|
| integer |

setEnvironment(integer $environment) : \Zend_Service_DeveloperGarden_Request_RequestAbstract
inherited
sets a new moduleId
Inherited from: \Zend_Service_DeveloperGarden_Request_RequestAbstract::setEnvironment()
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $environment | integer |
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Request_RequestAbstract |

setIp(\Zend_Service_DeveloperGarden_IpLocation_IpAddress | array $ip) : \Zend_Service_DeveloperGarden_Request_IpLocation_LocateIPRequestsets new ip or array of ips
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $ip | \Zend_Service_DeveloperGarden_IpLocation_IpAddress | array |
| Type | Description |
|---|---|
| \Zend_Service_DeveloperGarden_Request_IpLocation_LocateIPRequest |