-
Notifications
You must be signed in to change notification settings - Fork 0
class Thread
www/includes/forum.inc.php
In dieser Klasse befinden sich alle Funktionen zum Thread-System
zorg\Forum
- [z]milamber
- IneX
1.0
No public properties found
No constants found
adjustThreadRecord() | getLastComment() | getLastUnreadComment() | getNavigation() | getNumPosts() | getNumUnread() | getRecordset() | hasRecords() | hasRights() | printChildPosts() deprecated
| setLastSeen() | setRights() |
- Inherited from \Thread
public
adjustThreadRecord(mixed $board, mixed $thread_id) : mixed
static
Holt den letzten Kommentar eines Threads
- Inherited from \Thread
public
getLastComment(string $board, int $thread_id) : array
static
Holt den letzten ungelesenen Kommentar
- Inherited from \Thread
public
getLastUnreadComment(mixed $board, int $thread_id, mixed $user_id) : array
static
returns the Thread-Title and its navigation-bar
- Inherited from \Thread
public
getNavigation(mixed $board, mixed $id, int $thread_id) : string
static
Get count of total comments per Thread
- Inherited from \Thread
public
getNumPosts(string $board, int $thread_id) : int|bool
static
-
version:
1.1
-
since:
1.0
method added -
since:
1.1
29.08.2019
IneX
try-catch didn't catch a failed mysql-query, changed it therefore - global: object $db Globales Class-Object mit allen MySQL-Methoden
Get count of total comment unreads per Thread for a specific user
- Inherited from \Thread
public
getNumUnread(string $board, int $thread_id, int $user_id = null) : int|bool
static
-
version:
1.0
-
since:
1.0
method added - global: object $db Globales Class-Object mit allen MySQL-Methoden
Fetches a Thread and returns its Recordset
- Inherited from \Thread
public
getRecordset(string $board, int $thread_id) : \arr|bool
static
-
version:
2.0
-
since:
1.0
method added -
since:
2.0
06.11.2018
added parameter validation - global: object $db Globales Class-Object mit allen MySQL-Methoden
- Inherited from \Thread
public
hasRecords(mixed $board, mixed $thread_id) : mixed
static
- Inherited from \Thread
public
hasRights(mixed $board, mixed $thread_id, mixed $user_id) : mixed
static
Post-Recursion Function.
- Inherited from \Thread
public
printChildPosts(mixed $board, int $parent_id, array $depth = array("space")) : void
deprecated
see smartyresource_comments_get_childposts??? (26.10.2018)static
- Inherited from \Thread
public
setLastSeen(mixed $board, mixed $thread_id) : mixed
static
- Inherited from \Thread
public
setRights(mixed $board, mixed $thread_id, mixed $rights) : mixed
static
\ » Classes » Thread
Documentation generated on April 26th, 2020 at 15:54.
Powered by phpDocumentor with template GitHub-wiki.