Code
- handle_forum_and_forumcategories()
- getThreadInfo()
- show_add_post_form()
- get_forumcategory_information()
- get_threads()
- getPosts()
- deleteForumCategoryThread()
- check_if_last_post_of_thread()
- get_thread_users_qualify()
- delete_forum_image()
- get_forums_in_category()
- updateThread()
- store_thread()
- get_forum_categories()
- store_forumcategory()
- count_number_of_forums_in_category()
- get_forum_information()
- return_up_down_icon()
- get_last_post_by_thread()
- return_lock_unlock_icon()
- change_lock_status()
- change_visibility()
- delete_post()
- get_forums()
- return_visible_invisible_icon()
- store_forum()
- get_last_post_information()
- get_post_information()
- get_thread_users_details()
- show_edit_forumcategory_form()
- get_thread_users_not_qualify()
- move_up_down()
- get_thread_information()
- saveThreadScoreHistory()
- display_user_link()
- store_edit_post()
- saveThreadScore()
- getThreadScoreHistory()
- display_user_image()
- get_unaproved_messages()
- get_whats_new()
- approve_post()
- updateThreadInfo()
- increase_thread_view()
- handle_mail_cue()
- store_reply()
- show_edit_post_form()
- send_mail()
- send_notification_mails()
- showQualify()
- current_qualify_of_thread()
- show_add_forumcategory_form()
- show_add_forum_form()
- send_notifications()
- getAttachmentsAjaxTable()
- giveRevisionButton()
- getPostStatus()
- set_notification()
- forum_search()
- getReportRecipients()
- postNeedsRevision()
- calculate_children()
- getAttachedFiles()
- savePostRevision()
- get_attachment()
- move_post_form()
- getAttachmentIdsByPostId()
- getNotificationsPerUser()
- prepare4display()
- get_thread_user_post_limit()
- get_thread_user_post()
- add_forum_attachment_file()
- forumRecursiveSort()
- getCountPostsWithStatus()
- postIsEditableByStudent()
- edit_forum_attachment_file()
- store_move_post()
- store_move_thread()
- getAskRevisionButton()
- get_all_post_from_user()
- search_link()
- reportPost()
- getPostRevision()
- move_thread_form()
- get_forums_of_group()
- get_name_thread_by_id()
- count_number_of_post_for_user_thread()
- getAllAttachment()
- getForumCreatedByUser()
- get_statistical_information()
- reportAvailable()
- count_number_of_post_in_thread()
- clearAttachedFiles()
- display_forum_search_results()
- getReportButton()
- editAttachedFile()
- get_notifications()
- delete_attachment()
- getForumCategoryByTitle()
If the size of the collection does not change during the iteration, it is generally a good practice to compute it beforehand, and not on each iteration: