Exemple #1
0
 function checkRange($data)
 {
     $field = array_shift(array_keys($data));
     return in_array($data[$field], constsVals('PACKAGE_' . strtoupper($field) . '_'));
 }
 function checkRange($data)
 {
     $field = array_shift(array_keys($data));
     return in_array($data[$field], constsVals('VARIABLE_TYPE_'));
 }