## Class mr_server_validate_ip

Description

MR Server Validate IP

- author: Mark Nielsen

Located in /server/validate/ip.php (line 52)

    Zend_Validate_Abstract
       |
       --mr_server_validate_ip

Class Constant Summary
NOT_FOUND = 'notFound'
NOT_VALID = 'notValid'
Variable Summary
string $_ipAddresses
array $_messageTemplates
Method Summary
mr_server_validate_ip __construct (string $ipaddresses)
boolean isValid (Zend_Controller_Request_Http $request)
Variables
string $_ipAddresses (line 74)

IP Address schema to validate against

- access: protected

array $_messageTemplates = array(
self::NOT_FOUND => "IP address validation required and unable to retrieve remote IP address. Received: %value%",
self::NOT_VALID => "Remote IP address of %value% failed to validate. If remote IP address is correct, then validate IP Addresses setting.",
) (line 64)

Error message templates

- access: protected

Methods
Constructor __construct (line 81)

Constructor

- access: public

mr_server_validate_ip __construct (string $ipaddresses)

- string $ipaddresses: IP Address schema to validate against

isValid (line 91)

See if the request has the proper remote address

- access: public

boolean isValid (Zend_Controller_Request_Http $request)

- Zend_Controller_Request_Http $request: The request to check

Class Constants
NOT_FOUND = 'notFound' (line 56)

Error constants

NOT_VALID = 'notValid' (line 57)

Documentation generated on Thu, 28 Jun 2012 16:33:49 -0700 by phpDocumentor 1.4.3