A validateObjectPlain(
objectType
$objectType, object The
$object, validationArray
$validationArray)
Validate a specific field using the supplied plain validation array. This function converts the plain validation array into a structured validation array and then calls ValidationUtil::validateObject().
Tags:
return:
true/false value indicating whether the object validation passed or failed
Parameters:
objectType
$objectType
The string object type
object The
$object
object to validate
validationArray
$validationArray
The plain (numerically indexed) validation array
The expected structure for the validation array is as follows: $validationArray[] = array ($fieldname, true/false, eq/neq/lt/lte/gt/gte/noop, $value, $errorMessage);
The noop value for the cmp_op field is only valid if the field is not required