## Class mr_server_validate_method

Description

MR Server Validate Request Method

- author: Mark Nielsen

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

    Zend_Validate_Abstract
       |
       --mr_server_validate_method

Class Constant Summary
MUSTBE = 'mustBe'
Variable Summary
array $_messageTemplates
string $_method
Method Summary
mr_server_validate_method __construct ([string $method = 'POST'])
boolean isValid (Zend_Controller_Request_Http $request)
Variables
array $_messageTemplates = array(
self::MUSTBE => "Invalid request, must be %value%",
) (line 63)

Error message templates

- access: protected

string $_method (line 72)

Request Method

- access: protected

Methods
Constructor __construct (line 79)

Constructor

- access: public

mr_server_validate_method __construct ([string $method = 'POST'])

- string $method: The request method

isValid (line 89)

See if the request has the proper method

- access: public

boolean isValid (Zend_Controller_Request_Http $request)

- Zend_Controller_Request_Http $request: The request to check

Class Constants
MUSTBE = 'mustBe' (line 56)

Error constants

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