| Conditions | 1 |
| Paths | 1 |
| Total Lines | 221 |
| Code Lines | 136 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 136 |
| CRAP Score | 1 |
Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.
For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.
Commonly applied refactorings include:
If many parameters/temporary variables are present:
| 1 | <?php |
||
| 194 | 1 | public static function loadCoreConfig() |
|
| 195 | { |
||
| 196 | 1 | $xoops_root_path = \XoopsBaseConfig::get('root-path'); |
|
| 197 | return array( |
||
| 198 | 1 | 'bloggerapi' => $xoops_root_path . '/class/xml/rpc/bloggerapi.php', |
|
| 199 | 1 | 'criteria' => $xoops_root_path . '/class/criteria.php', |
|
| 200 | 1 | 'criteriacompo' => $xoops_root_path . '/class/criteria.php', |
|
| 201 | 1 | 'criteriaelement' => $xoops_root_path . '/class/criteria.php', |
|
| 202 | 1 | 'formdhtmltextarea' => $xoops_root_path . '/class/xoopseditor/dhtmltextarea/dhtmltextarea.php', |
|
| 203 | 1 | 'formtextarea' => $xoops_root_path . '/class/xoopseditor/textarea/textarea.php', |
|
| 204 | 1 | 'htmlawed' => $xoops_root_path . '/class/vendor/htmLawed.php', |
|
| 205 | 1 | 'metaweblogapi' => $xoops_root_path . '/class/xml/rpc/metaweblogapi.php', |
|
| 206 | 1 | 'movabletypeapi' => $xoops_root_path . '/class/xml/rpc/movabletypeapi.php', |
|
| 207 | 1 | 'mytextsanitizer' => $xoops_root_path . '/class/module.textsanitizer.php', |
|
| 208 | //'mytextsanitizerextension' => $xoops_root_path . '/class/module.textsanitizer.php', |
||
| 209 | //'phpmailer' => $xoops_root_path . '/class/mail/phpmailer/class.phpmailer.php', |
||
| 210 | 1 | 'rssauthorhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 211 | 1 | 'rsscategoryhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 212 | 1 | 'rsscommentshandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 213 | 1 | 'rsscopyrighthandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 214 | 1 | 'rssdescriptionhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 215 | 1 | 'rssdocshandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 216 | 1 | 'rssgeneratorhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 217 | 1 | 'rssguidhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 218 | 1 | 'rssheighthandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 219 | 1 | 'rssimagehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 220 | 1 | 'rssitemhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 221 | 1 | 'rsslanguagehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 222 | 1 | 'rsslastbuilddatehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 223 | 1 | 'rsslinkhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 224 | 1 | 'rssmanagingeditorhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 225 | 1 | 'rssnamehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 226 | 1 | 'rsspubdatehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 227 | 1 | 'rsssourcehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 228 | 1 | 'rsstextinputhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 229 | 1 | 'rsstitlehandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 230 | 1 | 'rssttlhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 231 | 1 | 'rssurlhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 232 | 1 | 'rsswebmasterhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 233 | 1 | 'rsswidthhandler' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 234 | 1 | 'saxparser' => $xoops_root_path . '/class/xml/saxparser.php', |
|
| 235 | //'smarty' => $xoops_root_path . '/smarty/Smarty.class.php', |
||
| 236 | 1 | 'snoopy' => $xoops_root_path . '/class/vendor/snoopy.php', |
|
| 237 | 1 | 'sqlutility' => $xoops_root_path . '/class/database/sqlutility.php', |
|
| 238 | 1 | 'tar' => $xoops_root_path . '/class/class.tar.php', |
|
| 239 | 1 | 'xmltaghandler' => $xoops_root_path . '/class/xml/xmltaghandler.php', |
|
| 240 | 1 | 'xoopsadminthemefactory' => $xoops_root_path . '/class/theme.php', |
|
| 241 | 1 | 'xoopsapi' => $xoops_root_path . '/class/xml/rpc/xoopsapi.php', |
|
| 242 | //'xoopsauth' => $xoops_root_path . '/class/auth/auth.php', |
||
| 243 | //'xoopsauthfactory' => $xoops_root_path . '/class/auth/authfactory.php', |
||
| 244 | //'xoopsauthads' => $xoops_root_path . '/class/auth/auth_ads.php', |
||
| 245 | //'xoopsauthldap' => $xoops_root_path . '/class/auth/auth_ldap.php', |
||
| 246 | //'xoopsauthprovisionning' => $xoops_root_path . '/class/auth/auth_provisionning.php', |
||
| 247 | //'xoopsauthxoops' => $xoops_root_path . '/class/auth/auth_xoops.php', |
||
| 248 | //'xoopsavatar' => $xoops_root_path . '/kernel/avatar.php', |
||
| 249 | //'xoopsavatarhandler' => $xoops_root_path . '/kernel/avatar.php', |
||
| 250 | //'xoopsavataruserlink' => $xoops_root_path . '/kernel/avataruserlink.php', |
||
| 251 | //'xoopsavataruserlinkhandler' => $xoops_root_path . '/kernel/avataruserlink.php', |
||
| 252 | //'xoopsblock' => $xoops_root_path . '/kernel/block.php', |
||
| 253 | //'xoopsblockform' => $xoops_root_path . '/class/xoopsform/blockform.php', |
||
| 254 | //'xoopsblockhandler' => $xoops_root_path . '/kernel/block.php', |
||
| 255 | //'xoopsblockmodulelink' => $xoops_root_path . '/kernel/blockmodulelink.php', |
||
| 256 | //'xoopsblockmodulelinkhandler' => $xoops_root_path . '/kernel/blockmodulelink.php', |
||
| 257 | //'xoopscalendar' => $xoops_root_path . '/class/calendar/xoopscalendar.php', |
||
| 258 | 1 | 'xoopscaptcha' => $xoops_root_path . '/class/captcha/xoopscaptcha.php', |
|
| 259 | 1 | 'xoopscaptchamethod' => $xoops_root_path . '/class/captcha/xoopscaptchamethod.php', |
|
| 260 | 1 | 'xoopscaptchaimage' => $xoops_root_path . '/class/captcha/image.php', |
|
| 261 | 1 | 'xoopscaptcharecaptcha' => $xoops_root_path . '/class/captcha/recaptcha.php', |
|
| 262 | 1 | 'xoopscaptchatext' => $xoops_root_path . '/class/captcha/text.php', |
|
| 263 | 1 | 'xoopscaptchaimagehandler' => $xoops_root_path . '/class/captcha/image/scripts/imageclass.php', |
|
| 264 | //'xoopscomment' => $xoops_root_path . '/kernel/comment.php', |
||
| 265 | //'xoopscommenthandler' => $xoops_root_path . '/kernel/comment.php', |
||
| 266 | //'xoopscommentrenderer' => $xoops_root_path . '/class/commentrenderer.php', |
||
| 267 | //'xoopsconfigcategory' => $xoops_root_path . '/kernel/configcategory.php', |
||
| 268 | //'xoopsconfigcategoryhandler' => $xoops_root_path . '/kernel/configcategory.php', |
||
| 269 | //'xoopsconfighandler' => $xoops_root_path . '/kernel/config.php', |
||
| 270 | //'xoopsconfigitem' => $xoops_root_path . '/kernel/configitem.php', |
||
| 271 | //'xoopsconfigitemhandler' => $xoops_root_path . '/kernel/configitem.php', |
||
| 272 | //'xoopsconfigoption' => $xoops_root_path . '/kernel/configoption.php', |
||
| 273 | //'xoopsconfigoptionhandler' => $xoops_root_path . '/kernel/configoption.php', |
||
| 274 | 1 | 'xoopsdatabase' => $xoops_root_path . '/class/database/database.php', |
|
| 275 | //'xoopsconnection' => $xoops_root_path . '/class/database/connection.php', |
||
| 276 | //'xoopsquerybuilder' => $xoops_root_path . '/class/database/querybuilder.php', |
||
| 277 | 1 | 'xoopsdatabasefactory' => $xoops_root_path . '/class/database/databasefactory.php', |
|
| 278 | 1 | 'xoopsdatabasemanager' => $xoops_root_path . '/class/database/manager.php', |
|
| 279 | 1 | 'xoopsdownloader' => $xoops_root_path . '/class/downloader.php', |
|
| 280 | 1 | 'xoopsmysqldatabase' => $xoops_root_path . '/class/database/mysqldatabase.php', |
|
| 281 | 1 | 'xoopsmysqldatabaseproxy' => $xoops_root_path . '/class/database/mysqldatabaseproxy.php', |
|
| 282 | 1 | 'xoopsmysqldatabasesafe' => $xoops_root_path . '/class/database/mysqldatabasesafe.php', |
|
| 283 | //'xoopsgroup' => $xoops_root_path . '/kernel/group.php', |
||
| 284 | //'xoopsgrouphandler' => $xoops_root_path . '/kernel/group.php', |
||
| 285 | //'xoopsgroupperm' => $xoops_root_path . '/kernel/groupperm.php', |
||
| 286 | //'xoopsgrouppermhandler' => $xoops_root_path . '/kernel/groupperm.php', |
||
| 287 | //'xoopsimage' => $xoops_root_path . '/kernel/image.php', |
||
| 288 | //'xoopsimagecategory' => $xoops_root_path . '/kernel/imagecategory.php', |
||
| 289 | //'xoopsimagecategoryhandler' => $xoops_root_path . '/kernel/imagecategory.php', |
||
| 290 | //'xoopsimagehandler' => $xoops_root_path . '/kernel/image.php', |
||
| 291 | //'xoopsimageset' => $xoops_root_path . '/kernel/imageset.php', |
||
| 292 | //'xoopsimagesethandler' => $xoops_root_path . '/kernel/imageset.php', |
||
| 293 | //'xoopsimagesetimg' => $xoops_root_path . '/kernel/imagesetimg.php', |
||
| 294 | //'xoopsimagesetimghandler' => $xoops_root_path . '/kernel/imagesetimg.php', |
||
| 295 | 1 | 'xoopslists' => $xoops_root_path . '/class/xoopslists.php', |
|
| 296 | //'xoopslocal' => $xoops_root_path . '/include/xoopslocal.php', |
||
| 297 | //'xoopslocalabstract' => $xoops_root_path . '/class/xoopslocal.php', |
||
| 298 | 1 | 'xoopslogger' => $xoops_root_path . '/class/logger/xoopslogger.php', |
|
| 299 | 1 | 'xoopseditor' => $xoops_root_path . '/class/xoopseditor/xoopseditor.php', |
|
| 300 | 1 | 'xoopseditorhandler' => $xoops_root_path . '/class/xoopseditor/xoopseditor.php', |
|
| 301 | 1 | 'xoopsfile' => $xoops_root_path . '/class/file/xoopsfile.php', |
|
| 302 | 1 | 'xoopsfilehandler' => $xoops_root_path . '/class/file/file.php', |
|
| 303 | 1 | 'xoopsfilterinput' => $xoops_root_path . '/class/xoopsfilterinput.php', |
|
| 304 | 1 | 'xoopsfolderhandler' => $xoops_root_path . '/class/file/folder.php', |
|
| 305 | 1 | 'xoopsform' => $xoops_root_path . '/class/xoopsform/form.php', |
|
| 306 | 1 | 'xoopsformbutton' => $xoops_root_path . '/class/xoopsform/formbutton.php', |
|
| 307 | 1 | 'xoopsformbuttontray' => $xoops_root_path . '/class/xoopsform/formbuttontray.php', |
|
| 308 | //'xoopsformcalendar' => $xoops_root_path . '/class/xoopsform/formcalendar.php', |
||
| 309 | 1 | 'xoopsformcaptcha' => $xoops_root_path . '/class/xoopsform/formcaptcha.php', |
|
| 310 | 1 | 'xoopsformcheckbox' => $xoops_root_path . '/class/xoopsform/formcheckbox.php', |
|
| 311 | 1 | 'xoopsformcolorpicker' => $xoops_root_path . '/class/xoopsform/formcolorpicker.php', |
|
| 312 | //'xoopsformcontainer' => $xoops_root_path . '/class/xoopsform/formcontainer.php', |
||
| 313 | 1 | 'xoopsformdatetime' => $xoops_root_path . '/class/xoopsform/formdatetime.php', |
|
| 314 | 1 | 'xoopsformdhtmltextarea' => $xoops_root_path . '/class/xoopsform/formdhtmltextarea.php', |
|
| 315 | 1 | 'xoopsformeditor' => $xoops_root_path . '/class/xoopsform/formeditor.php', |
|
| 316 | 1 | 'xoopsformelement' => $xoops_root_path . '/class/xoopsform/formelement.php', |
|
| 317 | 1 | 'xoopsformelementtray' => $xoops_root_path . '/class/xoopsform/formelementtray.php', |
|
| 318 | 1 | 'xoopsformfile' => $xoops_root_path . '/class/xoopsform/formfile.php', |
|
| 319 | 1 | 'xoopsformhidden' => $xoops_root_path . '/class/xoopsform/formhidden.php', |
|
| 320 | 1 | 'xoopsformhiddentoken' => $xoops_root_path . '/class/xoopsform/formhiddentoken.php', |
|
| 321 | 1 | 'xoopsformlabel' => $xoops_root_path . '/class/xoopsform/formlabel.php', |
|
| 322 | 1 | 'xoopsformloader' => $xoops_root_path . '/class/xoopsformloader.php', |
|
| 323 | 1 | 'xoopsformpassword' => $xoops_root_path . '/class/xoopsform/formpassword.php', |
|
| 324 | 1 | 'xoopsformradio' => $xoops_root_path . '/class/xoopsform/formradio.php', |
|
| 325 | 1 | 'xoopsformradioyn' => $xoops_root_path . '/class/xoopsform/formradioyn.php', |
|
| 326 | //'xoopsformraw' => $xoops_root_path . '/class/xoopsform/formraw.php', |
||
| 327 | 1 | 'xoopsformselect' => $xoops_root_path . '/class/xoopsform/formselect.php', |
|
| 328 | 1 | 'xoopsformselectcheckgroup' => $xoops_root_path . '/class/xoopsform/formselectcheckgroup.php', |
|
| 329 | 1 | 'xoopsformselectcountry' => $xoops_root_path . '/class/xoopsform/formselectcountry.php', |
|
| 330 | 1 | 'xoopsformselecteditor' => $xoops_root_path . '/class/xoopsform/formselecteditor.php', |
|
| 331 | 1 | 'xoopsformselectgroup' => $xoops_root_path . '/class/xoopsform/formselectgroup.php', |
|
| 332 | 1 | 'xoopsformselectlang' => $xoops_root_path . '/class/xoopsform/formselectlang.php', |
|
| 333 | //'xoopsformselectlocale' => $xoops_root_path . '/class/xoopsform/formselectlocale.php', |
||
| 334 | 1 | 'xoopsformselectmatchoption' => $xoops_root_path . '/class/xoopsform/formselectmatchoption.php', |
|
| 335 | 1 | 'xoopsformselecttheme' => $xoops_root_path . '/class/xoopsform/formselecttheme.php', |
|
| 336 | 1 | 'xoopsformselecttimezone' => $xoops_root_path . '/class/xoopsform/formselecttimezone.php', |
|
| 337 | 1 | 'xoopsformselectuser' => $xoops_root_path . '/class/xoopsform/formselectuser.php', |
|
| 338 | //'xoopsformtab' => $xoops_root_path . '/class/xoopsform/formtab.php', |
||
| 339 | //'xoopsformtabtray' => $xoops_root_path . '/class/xoopsform/formtabtray.php', |
||
| 340 | 1 | 'xoopsformtext' => $xoops_root_path . '/class/xoopsform/formtext.php', |
|
| 341 | 1 | 'xoopsformtextarea' => $xoops_root_path . '/class/xoopsform/formtextarea.php', |
|
| 342 | 1 | 'xoopsformtextdateselect' => $xoops_root_path . '/class/xoopsform/formtextdateselect.php', |
|
| 343 | //'xoopsformmail' => $xoops_root_path . '/class/xoopsform/formmail.php', |
||
| 344 | //'xoopsformurl' => $xoops_root_path . '/class/xoopsform/formurl.php', |
||
| 345 | 1 | 'xoopsgroupformcheckbox' => $xoops_root_path . '/class/xoopsform/grouppermform.php', |
|
| 346 | 1 | 'xoopsgrouppermform' => $xoops_root_path . '/class/xoopsform/grouppermform.php', |
|
| 347 | //'xoopsguestuser' => $xoops_root_path . '/kernel/user.php', |
||
| 348 | 1 | 'xoopsmailer' => $xoops_root_path . '/class/xoopsmailer.php', |
|
| 349 | 1 | 'xoopsmediauploader' => $xoops_root_path . '/class/uploader.php', |
|
| 350 | //'xoopsmemberhandler' => $xoops_root_path . '/kernel/member.php', |
||
| 351 | //'xoopsmembership' => $xoops_root_path . '/kernel/membership.php', |
||
| 352 | //'xoopsmembershiphandler' => $xoops_root_path . '/kernel/membership.php', |
||
| 353 | //'xoopsmodelfactory' => $xoops_root_path . '/class/model/xoopsmodel.php', |
||
| 354 | //'xoopsmoduleadmin' => $xoops_root_path . '/class/moduleadmin.php', |
||
| 355 | //'xoopsmodule' => $xoops_root_path . '/kernel/module.php', |
||
| 356 | //'xoopsmodulehandler' => $xoops_root_path . '/kernel/module.php', |
||
| 357 | 1 | 'xoopsmultimailer' => $xoops_root_path . '/class/xoopsmultimailer.php', |
|
| 358 | //'xoopsnotification' => $xoops_root_path . '/kernel/notification.php', |
||
| 359 | //'xoopsnotificationhandler' => $xoops_root_path . '/kernel/notification.php', |
||
| 360 | //'xoopsobject' => $xoops_root_path . '/kernel/object.php', |
||
| 361 | //'xoopsobjecthandler' => $xoops_root_path . '/kernel/object.php', |
||
| 362 | 1 | 'xoopsobjecttree' => $xoops_root_path . '/class/tree.php', |
|
| 363 | //'xoopsonline' => $xoops_root_path . '/kernel/online.php', |
||
| 364 | //'xoopsonlinehandler' => $xoops_root_path . '/kernel/online.php', |
||
| 365 | 1 | 'xoopspagenav' => $xoops_root_path . '/class/pagenav.php', |
|
| 366 | //'xoopspersistableobjecthandler' => $xoops_root_path . '/kernel/object.php', |
||
| 367 | 1 | 'xoopspreload' => $xoops_root_path . '/class/preload.php', |
|
| 368 | 1 | 'xoopspreloaditem' => $xoops_root_path . '/class/preload.php', |
|
| 369 | //'xoopsprivmessage' => $xoops_root_path . '/kernel/privmessage.php', |
||
| 370 | //'xoopsprivmessagehandler' => $xoops_root_path . '/kernel/privmessage.php', |
||
| 371 | //'xoopsranks' => $xoops_root_path . '/kernel/ranks.php', |
||
| 372 | //'xoopsrankshandler' => $xoops_root_path . '/kernel/ranks.php', |
||
| 373 | // 'xoopsregistry' => $xoops_root_path . '/class/registry.php', |
||
| 374 | 1 | 'xoopsrequest' => $xoops_root_path . '/class/xoopsrequest.php', |
|
| 375 | // 'xoopssecurity' => $xoops_root_path . '/class/xoopssecurity.php', |
||
| 376 | // 'xoopssessionhandler' => $xoops_root_path . '/kernel/session.php', |
||
| 377 | 1 | 'xoopssimpleform' => $xoops_root_path . '/class/xoopsform/simpleform.php', |
|
| 378 | 1 | 'xoopstableform' => $xoops_root_path . '/class/xoopsform/tableform.php', |
|
| 379 | 1 | 'xoopstardownloader' => $xoops_root_path . '/class/tardownloader.php', |
|
| 380 | 1 | 'xoopstheme' => $xoops_root_path . '/class/theme.php', |
|
| 381 | 1 | 'xoopsthemeblocksplugin' => $xoops_root_path . '/class/theme_blocks.php', |
|
| 382 | 1 | 'xoopsthemefactory' => $xoops_root_path . '/class/theme.php', |
|
| 383 | 1 | 'xoopsthemeform' => $xoops_root_path . '/class/xoopsform/themeform.php', |
|
| 384 | 1 | 'xoopsthemeplugin' => $xoops_root_path . '/class/theme.php', |
|
| 385 | 1 | 'xoopsthemesetparser' => $xoops_root_path . '/class/xml/themesetparser.php', |
|
| 386 | //'xoopstpl' => $xoops_root_path . '/class/template.php', |
||
| 387 | //'xoopstplfile' => $xoops_root_path . '/kernel/tplfile.php', |
||
| 388 | //'xoopstplfilehandler' => $xoops_root_path . '/kernel/tplfile.php', |
||
| 389 | //'xoopstplset' => $xoops_root_path . '/kernel/tplset.php', |
||
| 390 | //'xoopstplsethandler' => $xoops_root_path . '/kernel/tplset.php', |
||
| 391 | //'xoopsuser' => $xoops_root_path . '/kernel/user.php', |
||
| 392 | //'xoopsuserhandler' => $xoops_root_path . '/kernel/user.php', |
||
| 393 | 1 | 'xoopsuserutility' => $xoops_root_path . '/class/userutility.php', |
|
| 394 | 1 | 'xoopsutility' => $xoops_root_path . '/class/utility/xoopsutility.php', |
|
| 395 | 1 | 'xoopsxmlrpcapi' => $xoops_root_path . '/class/xml/rpc/xmlrpcapi.php', |
|
| 396 | 1 | 'xoopsxmlrpcarray' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 397 | 1 | 'xoopsxmlrpcbase64'=> $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 398 | 1 | 'xoopsxmlrpcboolean' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 399 | 1 | 'xoopsxmlrpcdatetime' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 400 | 1 | 'xoopsxmlrpcdocument' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 401 | 1 | 'xoopsxmlrpcdouble' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 402 | 1 | 'xoopsxmlrpcfault' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 403 | 1 | 'xoopsxmlrpcint' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 404 | 1 | 'xoopsxmlrpcparser' => $xoops_root_path . '/class/xml/rpc/xmlrpcparser.php', |
|
| 405 | 1 | 'xoopsxmlrpcrequest' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 406 | 1 | 'xoopsxmlrpcresponse' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 407 | 1 | 'xoopsxmlrpcstring' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 408 | 1 | 'xoopsxmlrpcstruct' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 409 | 1 | 'xoopsxmlrpctag' => $xoops_root_path . '/class/xml/rpc/xmlrpctag.php', |
|
| 410 | 1 | 'xoopsxmlrss2parser' => $xoops_root_path . '/class/xml/rss/xmlrss2parser.php', |
|
| 411 | 1 | 'xoopszipdownloader' => $xoops_root_path . '/class/zipdownloader.php', |
|
| 412 | 1 | 'zipfile' => $xoops_root_path . '/class/class.zipfile.php', |
|
| 413 | 1 | ); |
|
| 414 | } |
||
| 415 | |||
| 556 |
An exit expression should only be used in rare cases. For example, if you write a short command line script.
In most cases however, using an
exitexpression makes the code untestable and often causes incompatibilities with other libraries. Thus, unless you are absolutely sure it is required here, we recommend to refactor your code to avoid its usage.