Validate a value before it's saved
public static validate ( string $type, mixed $value, string $name = null, array $options = null, array $fields = null, array $pod = null, integer $id = null, array | object $params = null ) | ||
$type | string | |
$value | mixed | |
$name | string | |
$options | array | |
$fields | array | |
$pod | array | |
$id | integer | |
$params | array | object |