Esempio n. 1
0
                        $strParamName = $arrOneMatch[3];
                    } else {
                        if (isset($arrOneMatch[5]) && $arrOneMatch[5] != "") {
                            $strParamName = $arrOneMatch[5];
                        }
                    }
                }
                //Get param value(s)
                $strParamValue = "";
                if (isset($arrOneMatch[2]) && $arrOneMatch[2] != "") {
                    $strParamValue = $arrOneMatch[2];
                } else {
                    if (isset($arrOneMatch[4]) && $arrOneMatch[4] != "") {
                        $strParamValue = $arrOneMatch[4];
                    } else {
                        if (isset($arrOneMatch[6]) && $arrOneMatch[6] != "") {
                            $strParamValue = $arrOneMatch[6];
                            $strParamValue = uniStrReplace(array("{"), "[", $strParamValue);
                            $strParamValue = uniStrReplace(array("}"), "]", $strParamValue);
                            $strParamValue = json_decode($strParamValue);
                        }
                    }
                }
                $arrParams[$strParamName] = $strParamValue;
            }
        }
        return $arrParams;
    }
}
class_reflection::staticConstruct();