28 private static $parameterClassMap = array(
29 'sort' =>
'sortProperties'
42 if (count($data) < 1) {
52 if (count($data) < 1) {
57 while (
$value = array_shift($data)) {
58 $tuple = self::checkValueSyntax(
$value);
59 if ($tuple ===
false) {
63 if (!self::checkParameterClassKey($tuple[
'name'])) {
83 if(!preg_match(
'/^(?P<name>[a-z]{1,63})=(?P<value>.*)$/i',
$value, $m)) {
88 'value' => $m[
'value']
100 return in_array($pName, array_keys(self::$parameterClassMap));
111 return self::$parameterClassMap;
113 return self::$parameterClassMap[$key];
static checkValueSyntax($value)
static getError($code, $args=null)
static checkParameterClassKey($pName)
static getParameterClassMap($key=null)
static checkAttrSyntax($attrid)
check(array $data, &$docfam=null)