utilityValidateArray

Validates that a variable is an array. Does not check contents or size only that the variable can be evaluated as an array.

$oValidator = new utilityValidateArray(
    array(
        // no options for this validator
    )
);
if ( !$oValidator->isValid($var) ) {
    print_r($oValidator->getMessages());
}

Methods


Inherited Methods

<  1  >