Example #1
0
 static function call_method($method, $params = CJ_EMPTY_VALUE, $params2 = CJ_EMPTY_VALUE, $params3 = CJ_EMPTY_VALUE, $params4 = CJ_EMPTY_VALUE, $params5 = CJ_EMPTY_VALUE)
 {
     $cm = JoomdleHelperContent::_get_cm();
     if ($cm == 'fgc') {
         $response = JoomdleHelperContent::call_method_fgc($method, $params, $params2, $params3, $params4, $params5);
     } else {
         //if ($cm == 'curl')
         $response = JoomdleHelperContent::call_method_curl($method, $params, $params2, $params3, $params4, $params5);
     }
     return $response;
 }