|
From: <be...@us...> - 2014-03-08 09:47:11
|
Revision: 12360
http://sourceforge.net/p/xoops/svn/12360
Author: beckmi
Date: 2014-03-08 09:46:59 +0000 (Sat, 08 Mar 2014)
Log Message:
-----------
added PHPDoc comments for classes and functions
Modified Paths:
--------------
XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.admin.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.cache.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.config.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.ini.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.user.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/object.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/xoopsart.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/textsanitizer/module.textsanitizer.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/banners.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_ads.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_ldap.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_provisionning.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/authfactory.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/apc.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/file.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/memcache.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/model.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/xcache.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/xoopscache.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/captcha/image/scripts/image.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/captcha/image.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/captcha/recaptcha/recaptchalib.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/captcha/recaptcha.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/captcha/text.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/captcha/xoopscaptcha.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/class.tar.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/class.zipfile.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/commentrenderer.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/criteria.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/database/database.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/database/mysqldatabase.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/database/sqlutility.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/file/file.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/file/folder.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/file/xoopsfile.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/logger/xoopslogger.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/mail/phpmailer/class.phpmailer.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/mail/phpmailer/class.pop3.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/mail/phpmailer/class.smtp.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/mail/xoopsmultimailer.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/model/write.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/model/xoopsmodel.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/module.textsanitizer.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/pagenav.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/smarty/xoops_plugins/function.block.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/smarty/xoops_plugins/function.xoInboxCount.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/smarty/xoops_plugins/function.xoMemberInfo.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/smarty/xoops_plugins/function.xoPageNav.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/smarty/xoops_plugins/function.xoops_link.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/smarty/xoops_plugins/resource.db.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/snoopy.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/tardownloader.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/template.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/censor/censor.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/flash/flash.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/iframe/iframe.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/image/image.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/li/li.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/mms/mms.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/mp3/mp3.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/rtsp/rtsp.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/soundcloud/soundcloud.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/syntaxhighlight/syntaxhighlight.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/textfilter/textfilter.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/ul/ul.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/wiki/wiki.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/wmp/wmp.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/textsanitizer/youtube/youtube.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/theme.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/theme_blocks.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/tree.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/uploader.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/userutility.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/utility/xoopsutility.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/rpc/bloggerapi.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/rpc/metaweblogapi.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/rpc/movabletypeapi.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/rpc/xmlrpcapi.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/rpc/xmlrpcparser.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/rpc/xmlrpctag.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/rpc/xoopsapi.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/rss/xmlrss2parser.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/saxparser.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xml/themesetparser.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsblock.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopscomments.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/dhtmltextarea/dhtmltextarea.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/textarea/textarea.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/formtinymce.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce/jscripts/tiny_mce/plugins/xoopsimagemanager/xoopsimagemanager.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/tinymce/tinymce.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/xoopseditor.inc.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopseditor/xoopseditor.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/form.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formbutton.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formbuttontray.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formcaptcha.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formcheckbox.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formcolorpicker.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formdhtmltextarea.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formeditor.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelement.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formelementtray.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formhiddentoken.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formlabel.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formradio.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formselect.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formselectcheckgroup.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formselecteditor.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsform/formtextdateselect.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopskernel.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopslists.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsload.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopslocal.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsmailer.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopssecurity.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopsstory.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopstopic.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/xoopstree.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/class/zipdownloader.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/image.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/functions.encoding.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/functions.legacy.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/notification_functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/old_functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/old_theme_functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/xoopscodes.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/include/xoopslocal.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/class/dbmanager.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/class/installwizard.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/class/pathcontroller.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/createconfigform.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/install/include/makedata.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/block.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/config.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/group.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/groupperm.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/imagecategory.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/imageset.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/imagesetimg.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/member.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/module.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/notification.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/object.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/online.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/tplfile.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/tplset.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/kernel/user.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/language/english/xoopsmailerlocal.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/class/message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/preloads/core.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/pm/preloads/system.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/field.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/admin/step.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/class/category.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/class/field.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/class/profile.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/class/regstep.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/class/visibility.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/include/forms.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/include/install.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/profile/preloads/core.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/protector/preloads/core.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/modulesadmin/modulesadmin.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/admin/users/users.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/blocks/system_blocks.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/avatar.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/banner.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/bannerclient.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/bannerfinish.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/block.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/blocklinkmodule.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/breadcrumb.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/cookie.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/group.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/maintenance.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/menu.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/smilies.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/userrank.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/class/users.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/include/functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/include/update.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/preloads/core.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/default/default.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/legacy/cp_functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/legacy/legacy.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/thadmin/thadmin.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/modules/system/themes/zetadigme/zetadigme.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/register.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/suico/extras/function.xoMemberInfo.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/class/pagenav.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/blocks/search.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/category.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/class/item.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/admin/center.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/class/ProtectorFilter.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/class/ProtectorMysqlDatabase.class.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/class/gtickets.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/class/protector.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/class/registry.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/bruteforce_overrun_message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/crawler_overrun_message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/f5attack_overrun_message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_deny_by_httpbl.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_deny_by_rbl.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4everyone.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_htmlpurify4guest.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_need_multibyte.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_post_register_moratorium.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/postcommon_register_insert_js_check.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_badip_errorlog.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_badip_message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_badip_redirection.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_bwlimit_errorlog.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/precommon_bwlimit_message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/prepurge_exit_message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_disabled/spamcheck_overrun_message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/filters_enabled/precommon_badip_message.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/include/install_extramodcheck.inc.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/include/postcheck_functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/include/precheck_functions.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/notification.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/oninstall.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/onuninstall.php
XoopsCore/branches/2.5.x/2.5.7/htdocs/xoops_lib/modules/protector/onupdate.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/abstract.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/cnt-2.2.x-to-2.3.0/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/language.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.0.13-to-2.0.14/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.0.15-to-2.0.16/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.0.16-to-2.0.17/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.0.17-to-2.0.18/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.0.18-to-2.3.0/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.0.18-to-2.3.0/pathcontroller.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.0.18-to-2.3.0/settings_db.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.0.18-to-2.3.0/settings_path.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.3.3-to-2.4.0/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.4.0-to-2.4.1/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.4.x-to-2.5.0/dbmanager.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.4.x-to-2.5.0/index.php
XoopsCore/branches/2.5.x/2.5.7/upgrade/upd-2.5.5-to-2.5.6/index.php
Modified: XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/docs/changelog.250.txt 2014-03-08 09:46:59 UTC (rev 12360)
@@ -68,6 +68,7 @@
- added extra escape for "e" in YESTERDAY definition in locale.php, which was added in PHP 5.4 (madDan)
- fixed PHP minimum version comparison in ModuleAdmin (mamba)
- fixed System Module image manager and popup image manager save images in different directories(luciorota)
+- added PHPDoc comments for classes and functions (mamba)
Security fixes
- XSS issues reported by Mehdi Dadkhah (rgriffith)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.admin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.admin.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.admin.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -16,7 +16,13 @@
defined("FRAMEWORKS_ART_FUNCTIONS_INI") || include_once dirname(__FILE__) . "/functions.ini.php";
-function loadModuleAdminMenu ($currentoption = -1, $breadcrumb = "")
+ /**
+ * @param $currentoption
+ * @param string $breadcrumb
+ *
+ * @return bool
+ */
+ function loadModuleAdminMenu ($currentoption = -1, $breadcrumb = "")
{
if (!$adminmenu = $GLOBALS["xoopsModule"]->getAdminMenu()) {
return false;
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.cache.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.cache.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.cache.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -14,7 +14,12 @@
if (!defined("FRAMEWORKS_ART_FUNCTIONS_CACHE")):
define("FRAMEWORKS_ART_FUNCTIONS_CACHE", true);
-function mod_generateCacheId_byGroup($groups = null)
+ /**
+ * @param null $groups
+ *
+ * @return string
+ */
+ function mod_generateCacheId_byGroup($groups = null)
{
global $xoopsUser;
@@ -32,12 +37,25 @@
return $contentCacheId;
}
-function mod_generateCacheId($groups = null)
+ /**
+ * @param null $groups
+ *
+ * @return string
+ */
+ function mod_generateCacheId($groups = null)
{
return mod_generateCacheId_byGroup($groups);
}
-function mod_createFile($data, $name = null, $dirname = null, $root_path = XOOPS_CACHE_PATH)
+ /**
+ * @param $data
+ * @param null $name
+ * @param null $dirname
+ * @param string $root_path
+ *
+ * @return bool
+ */
+ function mod_createFile($data, $name = null, $dirname = null, $root_path = XOOPS_CACHE_PATH)
{
global $xoopsModule;
@@ -46,21 +64,45 @@
xoops_load('XoopsCache');
$key = "{$dirname}_{$name}";
+
return XoopsCache::write($key, $data);
}
-function mod_createCacheFile($data, $name = null, $dirname = null)
+ /**
+ * @param $data
+ * @param null $name
+ * @param null $dirname
+ *
+ * @return bool
+ */
+ function mod_createCacheFile($data, $name = null, $dirname = null)
{
return mod_createFile($data, $name, $dirname);
}
-function mod_createCacheFile_byGroup($data, $name = null, $dirname = null, $groups = null)
+ /**
+ * @param $data
+ * @param null $name
+ * @param null $dirname
+ * @param null $groups
+ *
+ * @return bool
+ */
+ function mod_createCacheFile_byGroup($data, $name = null, $dirname = null, $groups = null)
{
$name .= mod_generateCacheId_byGroup();
+
return mod_createCacheFile($data, $name, $dirname);
}
-function mod_loadFile($name, $dirname = null, $root_path = XOOPS_CACHE_PATH)
+ /**
+ * @param $name
+ * @param null $dirname
+ * @param string $root_path
+ *
+ * @return mixed|null
+ */
+ function mod_loadFile($name, $dirname = null, $root_path = XOOPS_CACHE_PATH)
{
global $xoopsModule;
@@ -70,25 +112,48 @@
$dirname = ($dirname) ? $dirname : (is_object($xoopsModule) ? $xoopsModule->getVar("dirname", "n") : "system");
xoops_load('XoopsCache');
$key = "{$dirname}_{$name}";
+
return XoopsCache::read($key);
}
-function mod_loadCacheFile($name, $dirname = null)
+ /**
+ * @param $name
+ * @param null $dirname
+ *
+ * @return mixed|null
+ */
+ function mod_loadCacheFile($name, $dirname = null)
{
$data = mod_loadFile($name, $dirname);
+
return $data;
}
-function mod_loadCacheFile_byGroup($name, $dirname = null, $groups = null)
+ /**
+ * @param $name
+ * @param null $dirname
+ * @param null $groups
+ *
+ * @return mixed|null
+ */
+ function mod_loadCacheFile_byGroup($name, $dirname = null, $groups = null)
{
$name .= mod_generateCacheId_byGroup();
$data = mod_loadFile($name, $dirname);
+
return $data;
}
/* Shall we use the function of glob for better performance ? */
-function mod_clearFile($name = "", $dirname = null, $root_path = XOOPS_CACHE_PATH)
+ /**
+ * @param string $name
+ * @param null $dirname
+ * @param string $root_path
+ *
+ * @return bool
+ */
+ function mod_clearFile($name = "", $dirname = null, $root_path = XOOPS_CACHE_PATH)
{
if (empty($dirname)) {
$pattern = ($dirname) ? "{$dirname}_{$name}.*\.php" : "[^_]+_{$name}.*\.php";
@@ -106,15 +171,27 @@
@unlink($file);
}
}
+
return true;
}
-function mod_clearCacheFile($name = "", $dirname = null)
+ /**
+ * @param string $name
+ * @param null $dirname
+ *
+ * @return bool
+ */
+ function mod_clearCacheFile($name = "", $dirname = null)
{
return mod_clearFile($name, $dirname);
}
-function mod_clearSmartyCache($pattern = "")
+ /**
+ * @param string $pattern
+ *
+ * @return bool
+ */
+ function mod_clearSmartyCache($pattern = "")
{
global $xoopsModule;
@@ -130,6 +207,7 @@
}
closedir($handle);
}
+
return true;
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.config.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.config.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.config.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -28,7 +28,7 @@
}
$dirname = !empty($dirname) ? $dirname : $GLOBALS["xoopsModule"]->getVar("dirname");
- if (isset($GLOBALS["xoopsModule"]) && is_object($GLOBALS["xoopsModule"]) && $GLOBALS["xoopsModule"]->getVar("dirname", "n") == $dirname){
+ if (isset($GLOBALS["xoopsModule"]) && is_object($GLOBALS["xoopsModule"]) && $GLOBALS["xoopsModule"]->getVar("dirname", "n") == $dirname) {
if (isset($GLOBALS["xoopsModuleConfig"])) {
$moduleConfig =& $GLOBALS["xoopsModuleConfig"];
} else {
@@ -44,10 +44,16 @@
if ($customConfig = @include XOOPS_ROOT_PATH . "/modules/{$dirname}/include/plugin.php") {
$moduleConfig = array_merge($moduleConfig, $customConfig);
}
+
return $moduleConfig;
}
-function mod_loadConfg($dirname = "")
+ /**
+ * @param string $dirname
+ *
+ * @return array
+ */
+ function mod_loadConfg($dirname = "")
{
return mod_loadConfig($dirname);
}
@@ -68,6 +74,7 @@
$module_handler =& xoops_gethandler('module');
if (!$module = $module_handler->getByDirname($dirname)) {
trigger_error("Module '{$dirname}' does not exist", E_USER_WARNING);
+
return null;
}
@@ -82,7 +89,12 @@
return $moduleConfig;
}
-function mod_fetchConfg($dirname = "")
+ /**
+ * @param string $dirname
+ *
+ * @return array
+ */
+ function mod_fetchConfg($dirname = "")
{
return mod_fetchConfig($dirname);
}
@@ -101,10 +113,16 @@
}
xoops_load('XoopsCache');
+
return XoopsCache::delete("{$dirname}_config");
}
-function mod_clearConfg($dirname = "")
+ /**
+ * @param string $dirname
+ *
+ * @return bool
+ */
+ function mod_clearConfg($dirname = "")
{
return mod_clearConfig($dirname);
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.ini.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.ini.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.ini.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -20,13 +20,15 @@
define("FRAMEWORKS_ROOT_PATH", XOOPS_ROOT_PATH . "/Frameworks");
-/**
- * Load declaration of an object handler
- *
- *
- * @param string $handler handler name, optional
- * @return bool
- */
+ /**
+ * Load declaration of an object handler
+ *
+ *
+ * @param string $handler handler name, optional
+ * @param string $dirname
+ *
+ * @return bool
+ */
function load_objectHandler($handler = "", $dirname = "art")
{
if (empty($handler)) {
@@ -38,21 +40,25 @@
}
class_exists($handlerClass) || require_once FRAMEWORKS_ROOT_PATH . "/{$dirname}/{$fileName}";
+
return class_exists($handlerClass);
}
-
-function load_object()
+ /**
+ * @return bool
+ */
+ function load_object()
{
return load_objectHandler();
}
-/**
- * Load a collective functions of Frameworks
- *
- * @param string $group name of the collective functions, empty for functions.php
- * @return bool
- */
+ /**
+ * Load a collective functions of Frameworks
+ *
+ * @param string $group name of the collective functions, empty for functions.php
+ * @param string $dirname
+ * @return bool
+ */
function load_functions($group = "", $dirname = "art")
{
$dirname = ("" == $dirname ) ? "art" : $dirname;
@@ -61,7 +67,6 @@
return include_once FRAMEWORKS_ROOT_PATH . "/{$dirname}/functions.{$group}" . (empty($group) ? "" : "." ) . "php";
}
-
/**
* Load a collective functions of a module
*
@@ -80,6 +85,7 @@
$constant = strtoupper( "{$dirname}_functions" . ( ($group) ? "_{$group}" : "" ) . "_loaded" );
if (defined($constant)) return true;
$filename = XOOPS_ROOT_PATH . "/modules/{$dirname}/include/functions.{$group}" . (empty($group) ? "" : "." ) . "php";
+
return include_once $filename;
}
@@ -101,6 +107,7 @@
require_once XOOPS_ROOT_PATH . "/modules/{$dirname}/class/{$class}.renderer.php";
}
$instance = eval("{$renderer}::instance()");
+
return $instance;
}
@@ -110,7 +117,12 @@
* @param string $name string to be localized
*/
if (!function_exists("mod_constant")) {
-function mod_constant($name)
+ /**
+ * @param $name
+ *
+ * @return mixed
+ */
+ function mod_constant($name)
{
if (!empty($GLOBALS["VAR_PREFIXU"]) && @defined($GLOBALS["VAR_PREFIXU"] . "_" . strtoupper($name))) {
return CONSTANT($GLOBALS["VAR_PREFIXU"] . "_" . strtoupper($name));
@@ -131,13 +143,21 @@
* @param boolean $isRel relative - do not add XOOPS->DB prefix
*/
if (!function_exists("mod_DB_prefix")) {
-function mod_DB_prefix($name, $isRel = false)
-{
- $relative_name = $GLOBALS["MOD_DB_PREFIX"] . "_" . $name;
- if ($isRel) return $relative_name;
- return $GLOBALS["xoopsDB"]->prefix($relative_name);
+ /**
+ * @param $name
+ * @param bool $isRel
+ *
+ * @return string
+ */
+ function mod_DB_prefix($name, $isRel = false)
+ {
+ $relative_name = $GLOBALS["MOD_DB_PREFIX"] . "_" . $name;
+ if ($isRel) {
+ return $relative_name;
+ }
+ return $GLOBALS["xoopsDB"]->prefix($relative_name);
+ }
}
-}
/**
* Display contents of a variable, an array or an object or an array of objects
@@ -145,7 +165,11 @@
* @param mixed $message variable/array/object
*/
if (!function_exists("xoops_message")):
-function xoops_message( $message, $userlevel = 0)
+ /**
+ * @param $message
+ * @param int $userlevel
+ */
+ function xoops_message( $message, $userlevel = 0)
{
global $xoopsUser;
@@ -165,7 +189,12 @@
echo "<div style=\"clear:both\"> </div>";
}
endif;
-function mod_message( $message )
+ /**
+ * @param $message
+ *
+ * @return bool
+ */
+ function mod_message( $message )
{
global $xoopsModuleConfig;
if (!empty($xoopsModuleConfig["do_debug"])) {
@@ -177,6 +206,7 @@
echo "<div>$message</div>";
}
}
+
return true;
}
@@ -190,6 +220,7 @@
{
if ( DIRECTORY_SEPARATOR != '/' ) $current_path = str_replace( strpos( $current_path, '\\\\', 2 ) ? '\\\\' : DIRECTORY_SEPARATOR, '/', $current_path);
$url_arr = explode('/', strstr($current_path, '/modules/'));
+
return $url_arr[2];
}
@@ -217,6 +248,7 @@
// current action
"modulesadmin" == $_POST["fct"]
);
+
return $ret;
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -22,13 +22,15 @@
load_functions("admin");
if (!class_exists('ArtObject'))
- include_once dirname(__FILE__) . "/object.php";
+ include_once dirname(__FILE__) . "/object.php";
/**
* get MySQL server version
*
* In some cases mysql_get_client_info is required instead
*
+ * @param null $conn
+ *
* @return string
*/
function mod_getMysqlVersion($conn = null)
@@ -40,5 +42,6 @@
} else {
$version = mysql_get_server_info();
}
+
return $mysql_version;
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.user.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.user.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/functions.user.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -15,22 +15,44 @@
xoops_load('XoopsUserUtility');
-function mod_getIP($asString = false)
+ /**
+ * @param bool $asString
+ *
+ * @return mixed
+ */
+ function mod_getIP($asString = false)
{
$GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', use XoopsUserUtility directly.");
+
return XoopsUserUtility::getIP($asString);
}
-function &mod_getUnameFromIds( $uid, $usereal = false, $linked = false )
+ /**
+ * @param $uid
+ * @param bool $usereal
+ * @param bool $linked
+ *
+ * @return array
+ */
+ function &mod_getUnameFromIds( $uid, $usereal = false, $linked = false )
{
$GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', use XoopsUserUtility directly.");
$ids = XoopsUserUtility::getUnameFromIds($uid, $usereal, $linked);
+
return $ids;
}
-function mod_getUnameFromId( $uid, $usereal = 0, $linked = false)
+ /**
+ * @param $uid
+ * @param int $usereal
+ * @param bool $linked
+ *
+ * @return string
+ */
+ function mod_getUnameFromId( $uid, $usereal = 0, $linked = false)
{
$GLOBALS['xoopsLogger']->addDeprecated("Deprecated function '" . __FUNCTION__ . "', user XoopsUserUtility directly.");
+
return XoopsUserUtility::getUnameFromId($uid, $usereal, $linked);
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/object.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/object.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/object.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -16,7 +16,6 @@
//if (!class_exists("ArtObject")):
if (class_exists("ArtObject")) return;
-
/**
* Art Object
*
@@ -59,11 +58,15 @@
var $db;
- /**
+ /**
* Constructor
*
- * @param object $db reference to the {@link XoopsDatabase} object
- **/
+ * @param object $db reference to the {@link XoopsDatabase} object
+ * @param string $table
+ * @param string $className
+ * @param string $keyName
+ * @param string $identifierName
+ */
function __construct(&$db, $table, $className, $keyName, $identifierName)
{
@@ -71,6 +74,13 @@
parent::__construct($db, $table, $className, $keyName, $identifierName);
}
+ /**
+ * @param $db
+ * @param string $table
+ * @param string $className
+ * @param string $keyName
+ * @param bool $identifierName
+ */
function ArtObjectHandler(&$db, $table = "", $className = "", $keyName = "", $identifierName = false)
{
$this->__construct( $db, $table, $className, $keyName, $identifierName );
@@ -79,7 +89,9 @@
/**
* get MySQL server version
*
- * @return string
+ * @param null $conn
+ *
+ * @return string
*/
function mysql_server_version($conn = null)
{
@@ -93,7 +105,7 @@
/**
* get MySQL major version
*
- * @return integer : 3 - 4.1-; 4 - 4.1+; 5 - 5.0+
+ * @return integer : 3 - 4.1-; 4 - 4.1+; 5 - 5.0+
*/
function mysql_major_version()
{
@@ -104,11 +116,18 @@
return $mysql_version;
}
+ /**
+ * @param object $object
+ * @param bool $force
+ *
+ * @return mixed
+ */
function insert(&$object, $force = true)
{
if ($ret = parent::insert($object, $force)) {
$object->unsetNew();
}
+
return $ret;
}
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/xoopsart.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/xoopsart.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/art/xoopsart.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -12,6 +12,9 @@
class XoopsArt
{
+ /**
+ *
+ */
function __construct()
{
}
@@ -24,8 +27,8 @@
/**
* Load a collective functions of Frameworks
*
- * @param string $group name of the collective functions, empty for functions.php
- * @return bool
+ * @param string $group name of the collective functions, empty for functions.php
+ * @return bool
*/
function loadFunctions($group = "")
{
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -36,6 +36,9 @@
$this -> loadLanguage();
}
+ /**
+ * @return array
+ */
function getInfo()
{
$infoArray = array();
@@ -96,6 +99,9 @@
//******************************************************************************************************************
// Loaf the language file.
//******************************************************************************************************************
+ /**
+ * @return bool|mixed
+ */
function loadLanguage()
{
$language = $GLOBALS['xoopsConfig']['language'];
@@ -113,6 +119,9 @@
//******************************************************************************************************************
// Creating a menu icon in the index
//******************************************************************************************************************
+ /**
+ * @return string
+ */
function renderMenuIndex()
{
$path = XOOPS_URL . "/modules/" . $this->_obj->getVar('dirname') . "/";
@@ -144,6 +153,12 @@
//******************************************************************************************************************
// Creating button
//******************************************************************************************************************
+ /**
+ * @param string $position
+ * @param string $delimeter
+ *
+ * @return string
+ */
function renderButton($position = "right", $delimeter = " ")
{
$path = XOOPS_URL . "/Frameworks/moduleclasses/icons/32/";
@@ -173,6 +188,14 @@
return $ret;
}
+ /**
+ * @param $title
+ * @param $link
+ * @param string $icon
+ * @param string $extra
+ *
+ * @return bool
+ */
function addItemButton($title, $link, $icon = 'add', $extra = '')
{
$ret['title'] = $title;
@@ -193,6 +216,12 @@
// 3- "chmod": check if this is the good chmod.
// For this type ("chmod"), the value is an array: array(path, chmod)
//******************************************************************************************************************
+ /**
+ * @param string $value
+ * @param string $type
+ *
+ * @return bool
+ */
function addConfigBoxLine($value = '', $type = 'default')
{
$line = "";
@@ -242,6 +271,9 @@
//******************************************************************************************************************
// Creating an index
//******************************************************************************************************************
+ /**
+ * @return string
+ */
function renderIndex()
{
$ret = "<table>\n<tr>\n";
@@ -262,7 +294,7 @@
// php version
$path = XOOPS_URL . "/Frameworks/moduleclasses/icons/16/";
- if ($this->_obj->getInfo('min_php')) {
+ if ($this->_obj->getInfo('min_php')) {
if (version_compare(phpversion(), $this->_obj->getInfo('min_php'), '<')) {
$ret .= "<span style='color : red; font-weight : bold;'><img src='" . $path . "0.png' >" . sprintf(_AM_MODULEADMIN_CONFIG_PHP, $this->_obj->getInfo('min_php'), phpversion()) . "</span>\n";
} else {
@@ -353,6 +385,11 @@
//******************************************************************************************************************
// $title: title of an InfoBox
//******************************************************************************************************************
+ /**
+ * @param $title
+ *
+ * @return bool
+ */
function addInfoBox($title)
{
$ret['title'] = $title;
@@ -370,6 +407,15 @@
// 3- "chmod": check if this is the good chmod.
// For this type ("chmod"), the value is an array: array(path, chmod)
//******************************************************************************************************************
+ /**
+ * @param $label
+ * @param $text
+ * @param string $value
+ * @param string $color
+ * @param string $type
+ *
+ * @return bool
+ */
function addInfoBoxLine($label, $text, $value = '', $color = 'inherit', $type = 'default')
{
$ret['label'] = $label;
@@ -390,6 +436,10 @@
return true;
}
+
+ /**
+ * @return string
+ */
function renderInfoBox()
{
$ret = "";
@@ -410,6 +460,12 @@
return $ret;
}
+ /**
+ * @param string $paypal
+ * @param bool $logo_xoops
+ *
+ * @return string
+ */
function renderAbout($paypal = '', $logo_xoops = true)
{
$path = XOOPS_URL . "/Frameworks/moduleclasses/icons/32/";
@@ -497,6 +553,11 @@
return $ret;
}
+ /**
+ * @param string $menu
+ *
+ * @return string
+ */
function addNavigation($menu = '')
{
$ret = "";
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/textsanitizer/module.textsanitizer.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/textsanitizer/module.textsanitizer.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/Frameworks/textsanitizer/module.textsanitizer.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -1,5 +1,8 @@
<?php
// For backward compatibility
+/**
+ * Class MyTextSanitizerExtended
+ */
class MyTextSanitizerExtended extends MyTextSanitizer
{
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/banners.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/banners.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/banners.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -229,6 +229,10 @@
/* Function to let the client E-mail his */
/* banner Stats */
/*********************************************/
+/**
+ * @param $cid
+ * @param $bid
+ */
function EmailStats($cid, $bid)
{
global $xoopsDB, $xoopsConfig;
@@ -281,6 +285,11 @@
/* Function to let the client to change the */
/* url for his banner */
/*********************************************/
+/**
+ * @param $cid
+ * @param $bid
+ * @param $url
+ */
function change_banner_url_by_client($cid, $bid, $url)
{
global $xoopsDB;
@@ -303,6 +312,9 @@
exit();
}
+/**
+ * @param $bid
+ */
function clickbanner($bid)
{
global $xoopsDB;
@@ -387,7 +399,7 @@
exit();
}
- $_SESSION['banner_login'] = $clean_login;
+ $_SESSION['banner_login'] = $clean_login;
$_SESSION['banner_pass'] = $clean_pass;
}
bannerstats();
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -55,8 +55,10 @@
/**
* add an error
*
- * @param string $value error to add
- * @access public
+ * @param int $err_no
+ * @param string $err_str error value to add
+ *
+ * @access public
*/
function setErrors($err_no, $err_str)
{
@@ -96,6 +98,7 @@
} else {
$ret .= _US_INCORRECTLOGIN;
}
+
return $ret;
}
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_ads.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_ads.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_ads.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -55,8 +55,8 @@
* Authenticate directly with uname in the DN
* Authenticate with manager, search the dn
*
- * @param string $uname Username
- * @param string $pwd Password
+ * @param string $uname Username
+ * @param string $pwd Password
* @return bool
*/
function authenticate($uname, $pwd = null)
@@ -64,6 +64,7 @@
$authenticated = false;
if (!extension_loaded('ldap')) {
$this->setErrors(0, _AUTH_LDAP_EXTENSION_NOT_LOAD);
+
return $authenticated;
}
$this->_ds = ldap_connect($this->ldap_server, $this->ldap_port);
@@ -98,6 +99,7 @@
$this->setErrors(0, _AUTH_LDAP_SERVER_NOT_FOUND);
}
@ldap_close($this->_ds);
+
return $authenticated;
}
@@ -107,11 +109,14 @@
* looks like an email address. Very useful for logging on especially in
* a large Forest. Note UPN must be unique in the forest.
*
+ * @param $uname
+ *
* @return userDN or false
*/
function getUPN($uname)
{
$userDN = $uname . '@' . $this->ldap_domain_name;
+
return $userDN;
}
} // end class
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_ldap.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_ldap.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_ldap.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -33,6 +33,7 @@
if (!class_exists('XoopsAuthProvisionning')) {
trigger_error('Required class XoopsAuthProvisionning was not found at line ' . __FILE__ . ' at line ' . __LINE__, E_USER_WARNING);
+
return false;
}
@@ -163,7 +164,8 @@
* XoopsAuthLdap::cp1252_to_utf8()
*
* @param mixed $str
- * @return
+ *
+ * @return string
*/
function cp1252_to_utf8($str)
{
@@ -176,8 +178,8 @@
* Authenticate directly with uname in the DN
* Authenticate with manager, search the dn
*
- * @param string $uname Username
- * @param string $pwd Password
+ * @param string $uname Username
+ * @param string $pwd Password
* @return bool
*/
function authenticate($uname, $pwd = null)
@@ -185,6 +187,7 @@
$authenticated = false;
if (!extension_loaded('ldap')) {
$this->setErrors(0, _AUTH_LDAP_EXTENSION_NOT_LOAD);
+
return $authenticated;
}
$this->_ds = ldap_connect($this->ldap_server, $this->ldap_port);
@@ -213,12 +216,14 @@
$this->setErrors(0, _AUTH_LDAP_SERVER_NOT_FOUND);
}
@ldap_close($this->_ds);
+
return $authenticated;
}
/**
* Compose the user DN with the configuration.
*
+ * @param $uname
* @return userDN or false
*/
function getUserDN($uname)
@@ -228,6 +233,7 @@
// Bind with the manager
if (!ldap_bind($this->_ds, $this->ldap_manager_dn, stripslashes($this->ldap_manager_pass))) {
$this->setErrors(ldap_errno($this->_ds), ldap_err2str(ldap_errno($this->_ds)) . '(' . $this->ldap_manager_dn . ')');
+
return false;
}
$filter = $this->getFilter($uname);
@@ -241,12 +247,14 @@
} else {
$userDN = $this->ldap_loginldap_attr . '=' . $uname . ',' . $this->ldap_base_dn;
}
+
return $userDN;
}
/**
* Load user from XOOPS Database
*
+ * @param $uname
* @return XoopsUser object
*/
function getFilter($uname)
@@ -257,16 +265,17 @@
} else {
$filter = $this->ldap_loginldap_attr . '=' . $uname;
}
+
return $filter;
}
/**
* XoopsAuthLdap::loadXoopsUser()
*
- * @param mixed $userdn
- * @param mixed $uname
- * @param mixed $pwd
- * @return
+ * @param mixed $userdn
+ * @param mixed $uname
+ * @param mixed $pwd
+ * @return bool
*/
function loadXoopsUser($userdn, $uname, $pwd = null)
{
@@ -278,6 +287,7 @@
} else {
$this->setErrors(0, sprintf('loadXoopsUser - ' . _AUTH_LDAP_CANT_READ_ENTRY, $userdn));
}
+
return $xoopsUser;
}
} // end class
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_provisionning.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_provisionning.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/auth_provisionning.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -36,7 +36,8 @@
* XoopsAuthProvisionning::getInstance()
*
* @param mixed $auth_instance
- * @return
+ *
+ * @return \XoopsAuthProvisionning
*/
static function &getInstance(&$auth_instance)
{
@@ -69,6 +70,7 @@
/**
* Return a Xoops User Object
*
+ * @param $uname
* @return XoopsUser or false
*/
function getXoopsUser($uname)
@@ -86,6 +88,9 @@
/**
* Launch the synchronisation process
*
+ * @param $datas
+ * @param $uname
+ * @param null $pwd
* @return bool
*/
function sync($datas, $uname, $pwd = null)
@@ -109,6 +114,9 @@
/**
* Add a new user to the system
*
+ * @param $datas
+ * @param $uname
+ * @param null $pwd
* @return bool
*/
function add($datas, $uname, $pwd = null)
@@ -148,6 +156,10 @@
/**
* Modify user information
*
+ * @param $xoopsUser
+ * @param $datas
+ * @param $uname
+ * @param null $pwd
* @return bool
*/
function change(&$xoopsUser, $datas, $uname, $pwd = null)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/authfactory.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/authfactory.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/auth/authfactory.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -37,6 +37,9 @@
* care of that
*
* @static
+ *
+ * @param $uname
+ *
* @return object Reference to the only instance of authentication class
*/
static function &getAuthConnection($uname)
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/apc.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/apc.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/apc.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -59,23 +59,25 @@
* Called automatically by the cache frontend
* To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
*
- * @param array $setting array of setting for the engine
+ * @param array $settings array of setting for the engine
+ *
* @return boolean True if the engine has been successfully initialized, false if not
- * @see CacheEngine::__defaults
- * @access public
+ * @see CacheEngine::__defaults
+ * @access public
*/
function init($settings = array())
{
parent::init($settings);
+
return function_exists('apc_cache_info');
}
/**
* Write data for key into cache
*
- * @param string $key Identifier for the data
- * @param mixed $value Data to be cached
- * @param integer $duration How long to cache the data, in seconds
+ * @param string $key Identifier for the data
+ * @param mixed $value Data to be cached
+ * @param integer $duration How long to cache the data, in seconds
* @return boolean True if the data was succesfully cached, false on failure
* @access public
*/
@@ -87,8 +89,8 @@
/**
* Read a key from the cache
*
- * @param string $key Identifier for the data
- * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it
+ * @param string $key Identifier for the data
+ * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it
* @access public
*/
function read($key)
@@ -99,7 +101,7 @@
/**
* Delete a key from the cache
*
- * @param string $key Identifier for the data
+ * @param string $key Identifier for the data
* @return boolean True if the value was succesfully deleted, false if it didn't exist or couldn't be removed
* @access public
*/
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/file.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/file.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/file.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -97,7 +97,7 @@
* Called automatically by the cache frontend
* To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
*
- * @param array $setting array of setting for the engine
+ * @param array $settings array of setting for the engine
* @return boolean True if the engine has been successfully initialized, false if not
* @access public
*/
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/memcache.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/memcache.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/memcache.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -69,15 +69,17 @@
* @access public
*/
var $settings = array();
+
/**
* Initialize the Cache Engine
*
* Called automatically by the cache frontend
* To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
*
- * @param array $setting array of setting for the engine
+ * @param array $settings array of setting for the engine
+ *
* @return boolean True if the engine has been successfully initialized, false if not
- * @access public
+ * @access public
*/
function init($settings = array())
{
@@ -111,14 +113,15 @@
return true;
}
}
+
return false;
}
/**
* Write data for key into cache
*
- * @param string $key Identifier for the data
- * @param mixed $value Data to be cached
- * @param integer $duration How long to cache the data, in seconds
+ * @param string $key Identifier for the data
+ * @param mixed $value Data to be cached
+ * @param integer $duration How long to cache the data, in seconds
* @return boolean True if the data was succesfully cached, false on failure
* @access public
*/
@@ -129,8 +132,8 @@
/**
* Read a key from the cache
*
- * @param string $key Identifier for the data
- * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it
+ * @param string $key Identifier for the data
+ * @return mixed The cached data, or false if the data doesn't exist, has expired, or if there was an error fetching it
* @access public
*/
function read($key)
@@ -140,7 +143,7 @@
/**
* Delete a key from the cache
*
- * @param string $key Identifier for the data
+ * @param string $key Identifier for the data
* @return boolean True if the value was succesfully deleted, false if it didn't exist or couldn't be removed
* @access public
*/
@@ -161,8 +164,8 @@
/**
* Connects to a server in connection pool
*
- * @param string $host host ip address or name
- * @param integer $port Server port
+ * @param string $host host ip address or name
+ * @param integer $port Server port
* @return boolean True if memcache server was connected
* @access public
*/
@@ -172,8 +175,10 @@
if ($this->memcache->connect($host, $port)) {
return true;
}
+
return false;
}
+
return true;
}
}
Modified: XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/model.php
===================================================================
--- XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/model.php 2014-03-08 08:14:06 UTC (rev 12359)
+++ XoopsCore/branches/2.5.x/2.5.7/htdocs/class/cache/model.php 2014-03-08 09:46:59 UTC (rev 12360)
@@ -84,9 +84,9 @@
* Called automatically by the cache frontend
* To reinitialize the settings call Cache::engine('EngineName', [optional] settings = array());
*
- * @param array $setting array of setting for the engine
+ * @param array $settings array of setting for the engine
* @return boolean True if the engine has been successfully initialized, false if not
- * @access public
+ * @access public
*/
function init($settings)
{
...
[truncated message content] |