// lets capture the return stuff rather than echo
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
// lets capture the return stuff rather than echo
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE );
- static function loadBootStrap($params = array(
- ), $loadUser = TRUE, $throwError = TRUE, $realPath = NULL) {
+ static function loadBootStrap($params = array(), $loadUser = TRUE, $throwError = TRUE, $realPath = NULL) {
- static function getPluginList($relpath, $fext = '.php', $skipList = array(
- )) {
- $fext_len = strlen($fext);
- $plugins = array();
+ static function getPluginList($relpath, $fext = '.php', $skipList = array()) {
+ $fext_len = strlen($fext);
+ $plugins = array();
$inc_files = CRM_Utils_System::listIncludeFiles($relpath);
foreach ($inc_files as $inc_file) {
if (substr($inc_file, 0 - $fext_len) == $fext) {
$inc_files = CRM_Utils_System::listIncludeFiles($relpath);
foreach ($inc_files as $inc_file) {
if (substr($inc_file, 0 - $fext_len) == $fext) {