示例#1
0
 public static function saveSetting()
 {
     self::settingAllowed();
     $name = JRequest::getString('name');
     $setting = JRequest::getString('settings');
     $setting = implode("\n", explode('|||||', $setting));
     require_once self::pluginLocation();
     return jbetoloHelper::saveSetting($name, $setting);
 }