Метод | Описание | |
---|---|---|
define_forum_mods ( $info ) | Generate iMOD const | |
parse_forum_mods ( $forum_mods ) : string | Parse Forum Group Moderators Links | |
setForumId ( $forum_id ) | ||
setPostId ( integer $post_id ) | ||
setThreadId ( $thread_id ) | ||
set_modActions ( ) | ||
verify_forum ( $forum_id ) | ||
verify_thread ( $thread_id ) | * Authenticate thread exist |
Метод | Описание | |
---|---|---|
mod_nonsticky_thread ( ) | Moderator Action - Non Sticky Thread Modal pop up confirmation of thread being un-sticky | |
mod_sticky_thread ( ) | Moderator Action - Sticky Thread Modal pop up confirmation of thread being sticky | |
mod_unlock_thread ( ) | Moderator Action - Unlock Thread Modal pop up confirmation of thread being unlocked |
Метод | Описание | |
---|---|---|
mod_delete_posts ( ) | Moderator Action - Remove only selected post in a thread Requires $_POST['delete_posts'] refer to - viewthread_options.php | |
mod_delete_thread ( ) | Moderator Action - Delete Thread Modal pop up confirmation of thread being removed | |
mod_lock_thread ( ) | Moderator Action - Lock Thread Modal pop up confirmation of thread being locked | |
mod_move_posts ( ) | Moving Posts | |
mod_move_thread ( ) | Moderator Action - Move Thread | |
mod_renew_thread ( ) | Moderator Action - Renew Thread Modal pop up confirmation of thread being renewed | |
refresh_forum ( boolean $delete_thread = FALSE ) : integer | Refresh db_forum forum's stats | |
remove_thread ( ) : array | SQL action remove thread | |
unset_userpost ( ) : integer | Unset User Post based on Thread id This function assumes as if user have never posted before |
public static define_forum_mods ( $info ) | ||
$info |
protected mod_nonsticky_thread ( ) |
protected mod_sticky_thread ( ) |
protected mod_unlock_thread ( ) |
public static parse_forum_mods ( $forum_mods ) : string | ||
$forum_mods | ||
Результат | string |
public static verify_thread ( $thread_id ) |