|
Cheetah
|
Public Member Functions | |
| searchMessages ($s, $u, $f, $type, $posts, $start, &$num=null) | |
| getCategs () | |
| getCatTitle ($id) | |
| getCat ($id) | |
| getForums ($c) | |
| getForumsByCatUri ($c) | |
| getForum ($f) | |
| getForumByUri ($f) | |
| getForumBy ($sName, $sVal) | |
| getForumByPostId ($post_id) | |
| getForumByTopicId ($topic_id) | |
| getPostIds ($p) | |
| getTopicsNum ($f) | |
| getRecentTopicsNum () | |
| _getTopicsNumWithCondition ($sWhere='', $aBindings=[]) | |
| getTopics ($f, $start) | |
| getRecentTopics ($start) | |
| getHiddenTopics ($u, $start=0, &$num=null) | |
| getMyFlaggedTopics ($u, $start=0, &$num=null) | |
| getSubscribersToTopic ($iTopicId) | |
| getMyThreadsTopics ($u, $start=0, &$num=null) | |
| getTopic ($t) | |
| getTopicByUri ($t) | |
| getTopicBy ($sName, $sVal) | |
| getPostUser ($p) | |
| getTopicPost ($t, $x='last') | |
| getTopicDesc ($t) | |
| editPost ($p, $text, $user) | |
| newTopic ($f, $title, $text, $sticky, $user, $uri) | |
| stick ($topic_id, $user) | |
| hideTopic ($is_hide, $topic_id, $user) | |
| hidePost ($is_hide, $post_id, $user) | |
| deletePost ($post_id, $user='') | |
| _deletePostWithoutUpdatingTopic ($post_id, $forum_id) | |
| delTopic ($topic_id, $user) | |
| moveTopic ($topic_id, $forum_id, $old_forum_id) | |
| postReply ($forum_id, $topic_id, $text, $user) | |
| getPosts ($t, $u, $sOrder='ASC', $iLimit=0) | |
| getPostsByUri ($t, $u) | |
| getPostsBy ($u, $sName, $sVal, $sOrder='ASC', $iLimit=0) | |
| _cutPostText (&$a, $sPostTextField='post_text') | |
| getUserPostsList ($user, $sort, $limit=10) | |
| getAllPostsList ($sort, $limit=10) | |
| getPost ($post_id, $u) | |
| getPostWhen ($post_id) | |
| getUserPosts ($u) | |
| insertVote ($post_id, $u, $vote) | |
| getTopicByPostId ($post_id) | |
| report ($post_id, $u) | |
| isFlagged ($topic_id, $u) | |
| flag ($topic_id, $u) | |
| unflag ($topic_id, $u) | |
| updateUserActivity ($user) | |
| updateUserLastActivity ($user) | |
| getUserLastActivity ($user) | |
| getUserLastOnlineTime ($user) | |
| userStatsInc ($user, $when) | |
| userStatsDec ($user) | |
| getUserStat ($u) | |
| _cutLivePosts (&$a) | |
| getLivePosts ($c, $ts) | |
| getNewPostTs ($ts) | |
| getLogActionsCount ($u, $sAction, $iPeriod=0) | |
| logAction ($id, $u, $action) | |
| updateAttachmentDownloads ($hash) | |
| getAttachment ($hash) | |
| getAttachments ($post_id) | |
| insertAttachment ($post_id, $hash, $name, $type, $size) | |
| removeAttachments ($post_id) | |
| removeAttachment ($hash) | |
| genFileHash () | |
| getSignature ($user) | |
| updateSignature ($signature, $user) | |
| isLocked ($topic_id) | |
| lock ($topic_id, $user) | |
| renameUser ($sUserOld, $sUserNew) | |
| deleteUser ($sUser) | |
Public Member Functions inherited from ChDb | |
| getRow ($query, $bindings=[], $arr_type=PDO::FETCH_ASSOC) | |
| getOne ($query, $bindings=[]) | |
| getColumn ($query, $bindings=[]) | |
| getFirstRow ($query, $bindings=[], $arr_type=PDO::FETCH_ASSOC) | |
| getNextRow () | |
| getNumRows ($res=null) | |
| getLastId () | |
| query ($query, $bindings=[]) | |
| getAll ($query, $bindings=[], $arr_type=PDO::FETCH_ASSOC) | |
| escape ($s) | |
| unescape ($s) | |
Public Member Functions inherited from Mistake | |
| __construct () | |
| log ($s) | |
| displayError ($s) | |
| getErrorPageXML ($s) | |
Public Member Functions inherited from ThingPage | |
| getLangs () | |
| getLangsXml () | |
| getUrlsXml () | |
| addHeaderFooter (&$li, $content) | |
| getPageXML ($first_load=1, &$p) | |
| cacheWrite ($fn, $s) | |
| cacheRead ($fn) | |
| cacheExists ($fn) | |
| cacheEnabled () | |
Public Attributes | |
| $_aUserTables2Field | |
Public Attributes inherited from Mistake | |
| $_error | |
Definition at line 34 of file DbForum.php.
| DbForum::_cutLivePosts | ( | & | $a | ) |
Definition at line 881 of file DbForum.php.
| DbForum::_cutPostText | ( | & | $a, |
$sPostTextField = 'post_text' |
|||
| ) |
Definition at line 640 of file DbForum.php.
| DbForum::_deletePostWithoutUpdatingTopic | ( | $post_id, | |
| $forum_id | |||
| ) |
Definition at line 499 of file DbForum.php.
| DbForum::_getTopicsNumWithCondition | ( | $sWhere = '', |
|
$aBindings = [] |
|||
| ) |
Definition at line 219 of file DbForum.php.
| DbForum::deletePost | ( | $post_id, | |
$user = '' |
|||
| ) |
Definition at line 469 of file DbForum.php.
| DbForum::deleteUser | ( | $sUser | ) |
Definition at line 1064 of file DbForum.php.
| DbForum::delTopic | ( | $topic_id, | |
| $user | |||
| ) |
Definition at line 519 of file DbForum.php.
| DbForum::editPost | ( | $p, | |
| $text, | |||
| $user | |||
| ) |
Definition at line 361 of file DbForum.php.
| DbForum::flag | ( | $topic_id, | |
| $u | |||
| ) |
Definition at line 786 of file DbForum.php.
| DbForum::genFileHash | ( | ) |
Definition at line 982 of file DbForum.php.
| DbForum::getAllPostsList | ( | $sort, | |
$limit = 10 |
|||
| ) |
Definition at line 680 of file DbForum.php.
| DbForum::getAttachment | ( | $hash | ) |
Definition at line 942 of file DbForum.php.
| DbForum::getAttachments | ( | $post_id | ) |
Definition at line 949 of file DbForum.php.
| DbForum::getCat | ( | $id | ) |
Definition at line 153 of file DbForum.php.
| DbForum::getCategs | ( | ) |
Definition at line 143 of file DbForum.php.
| DbForum::getCatTitle | ( | $id | ) |
Definition at line 148 of file DbForum.php.
| DbForum::getForum | ( | $f | ) |
Definition at line 173 of file DbForum.php.
| DbForum::getForumBy | ( | $sName, | |
| $sVal | |||
| ) |
Definition at line 183 of file DbForum.php.
| DbForum::getForumByPostId | ( | $post_id | ) |
Definition at line 191 of file DbForum.php.
| DbForum::getForumByTopicId | ( | $topic_id | ) |
Definition at line 197 of file DbForum.php.
| DbForum::getForumByUri | ( | $f | ) |
Definition at line 178 of file DbForum.php.
| DbForum::getForums | ( | $c | ) |
Definition at line 159 of file DbForum.php.
| DbForum::getForumsByCatUri | ( | $c | ) |
Definition at line 166 of file DbForum.php.
| DbForum::getHiddenTopics | ( | $u, | |
$start = 0, |
|||
| & | $num = null |
||
| ) |
Definition at line 251 of file DbForum.php.
| DbForum::getLivePosts | ( | $c, | |
| $ts | |||
| ) |
Definition at line 891 of file DbForum.php.
| DbForum::getLogActionsCount | ( | $u, | |
| $sAction, | |||
$iPeriod = 0 |
|||
| ) |
Definition at line 916 of file DbForum.php.
| DbForum::getMyFlaggedTopics | ( | $u, | |
$start = 0, |
|||
| & | $num = null |
||
| ) |
Definition at line 274 of file DbForum.php.
| DbForum::getMyThreadsTopics | ( | $u, | |
$start = 0, |
|||
| & | $num = null |
||
| ) |
Definition at line 302 of file DbForum.php.
| DbForum::getNewPostTs | ( | $ts | ) |
Definition at line 910 of file DbForum.php.
| DbForum::getPost | ( | $post_id, | |
| $u | |||
| ) |
Definition at line 710 of file DbForum.php.
| DbForum::getPostIds | ( | $p | ) |
Definition at line 203 of file DbForum.php.
| DbForum::getPosts | ( | $t, | |
| $u, | |||
$sOrder = 'ASC', |
|||
$iLimit = 0 |
|||
| ) |
Definition at line 613 of file DbForum.php.
| DbForum::getPostsBy | ( | $u, | |
| $sName, | |||
| $sVal, | |||
$sOrder = 'ASC', |
|||
$iLimit = 0 |
|||
| ) |
Definition at line 623 of file DbForum.php.
| DbForum::getPostsByUri | ( | $t, | |
| $u | |||
| ) |
Definition at line 618 of file DbForum.php.
| DbForum::getPostUser | ( | $p | ) |
Definition at line 341 of file DbForum.php.
| DbForum::getPostWhen | ( | $post_id | ) |
Definition at line 727 of file DbForum.php.
| DbForum::getRecentTopics | ( | $start | ) |
Definition at line 233 of file DbForum.php.
| DbForum::getRecentTopicsNum | ( | ) |
Definition at line 214 of file DbForum.php.
| DbForum::getSignature | ( | $user | ) |
Definition at line 998 of file DbForum.php.
| DbForum::getSubscribersToTopic | ( | $iTopicId | ) |
Definition at line 297 of file DbForum.php.
| DbForum::getTopic | ( | $t | ) |
Definition at line 325 of file DbForum.php.
| DbForum::getTopicBy | ( | $sName, | |
| $sVal | |||
| ) |
Definition at line 335 of file DbForum.php.
| DbForum::getTopicByPostId | ( | $post_id | ) |
Definition at line 763 of file DbForum.php.
| DbForum::getTopicByUri | ( | $t | ) |
Definition at line 330 of file DbForum.php.
| DbForum::getTopicDesc | ( | $t | ) |
Definition at line 355 of file DbForum.php.
| DbForum::getTopicPost | ( | $t, | |
$x = 'last' |
|||
| ) |
Definition at line 346 of file DbForum.php.
| DbForum::getTopics | ( | $f, | |
| $start | |||
| ) |
Definition at line 224 of file DbForum.php.
| DbForum::getTopicsNum | ( | $f | ) |
Definition at line 209 of file DbForum.php.
| DbForum::getUserLastActivity | ( | $user | ) |
Definition at line 833 of file DbForum.php.
| DbForum::getUserLastOnlineTime | ( | $user | ) |
Definition at line 840 of file DbForum.php.
| DbForum::getUserPosts | ( | $u | ) |
Definition at line 732 of file DbForum.php.
| DbForum::getUserPostsList | ( | $user, | |
| $sort, | |||
$limit = 10 |
|||
| ) |
Definition at line 650 of file DbForum.php.
| DbForum::getUserStat | ( | $u | ) |
Definition at line 874 of file DbForum.php.
| DbForum::hidePost | ( | $is_hide, | |
| $post_id, | |||
| $user | |||
| ) |
Definition at line 447 of file DbForum.php.
| DbForum::hideTopic | ( | $is_hide, | |
| $topic_id, | |||
| $user | |||
| ) |
Definition at line 434 of file DbForum.php.
| DbForum::insertAttachment | ( | $post_id, | |
| $hash, | |||
| $name, | |||
| $type, | |||
| $size | |||
| ) |
Definition at line 956 of file DbForum.php.
| DbForum::insertVote | ( | $post_id, | |
| $u, | |||
| $vote | |||
| ) |
Definition at line 738 of file DbForum.php.
| DbForum::isFlagged | ( | $topic_id, | |
| $u | |||
| ) |
Definition at line 779 of file DbForum.php.
| DbForum::isLocked | ( | $topic_id | ) |
Definition at line 1013 of file DbForum.php.
| DbForum::lock | ( | $topic_id, | |
| $user | |||
| ) |
Definition at line 1019 of file DbForum.php.
| DbForum::logAction | ( | $id, | |
| $u, | |||
| $action | |||
| ) |
Definition at line 928 of file DbForum.php.
| DbForum::moveTopic | ( | $topic_id, | |
| $forum_id, | |||
| $old_forum_id | |||
| ) |
Definition at line 546 of file DbForum.php.
| DbForum::newTopic | ( | $f, | |
| $title, | |||
| $text, | |||
| $sticky, | |||
| $user, | |||
| $uri | |||
| ) |
Definition at line 368 of file DbForum.php.
| DbForum::postReply | ( | $forum_id, | |
| $topic_id, | |||
| $text, | |||
| $user | |||
| ) |
Definition at line 573 of file DbForum.php.
| DbForum::removeAttachment | ( | $hash | ) |
Definition at line 973 of file DbForum.php.
| DbForum::removeAttachments | ( | $post_id | ) |
Definition at line 962 of file DbForum.php.
| DbForum::renameUser | ( | $sUserOld, | |
| $sUserNew | |||
| ) |
Definition at line 1032 of file DbForum.php.
| DbForum::report | ( | $post_id, | |
| $u | |||
| ) |
Definition at line 770 of file DbForum.php.
| DbForum::searchMessages | ( | $s, | |
| $u, | |||
| $f, | |||
| $type, | |||
| $posts, | |||
| $start, | |||
| & | $num = null |
||
| ) |
Definition at line 47 of file DbForum.php.
| DbForum::stick | ( | $topic_id, | |
| $user | |||
| ) |
Definition at line 421 of file DbForum.php.
| DbForum::unflag | ( | $topic_id, | |
| $u | |||
| ) |
Definition at line 793 of file DbForum.php.
| DbForum::updateAttachmentDownloads | ( | $hash | ) |
Definition at line 935 of file DbForum.php.
| DbForum::updateSignature | ( | $signature, | |
| $user | |||
| ) |
Definition at line 1003 of file DbForum.php.
| DbForum::updateUserActivity | ( | $user | ) |
Definition at line 800 of file DbForum.php.
| DbForum::updateUserLastActivity | ( | $user | ) |
Definition at line 822 of file DbForum.php.
| DbForum::userStatsDec | ( | $user | ) |
Definition at line 860 of file DbForum.php.
| DbForum::userStatsInc | ( | $user, | |
| $when | |||
| ) |
Definition at line 848 of file DbForum.php.
| DbForum::$_aUserTables2Field |
Definition at line 36 of file DbForum.php.