SourceForge Logo
1.4.3: info_by_tid


Description
Get all data of a specified topic.

Function call
info_by_tid ($tid);

Input
ParameterDescription
$tidThe Topic ID where all data must be returned from.


Output
The output is an object:

VarDescription
$result->tidThe ID of the topic.
$result->sidThe Category in which te topic is placed.
$result->timeThe timestamp of the topic start.
$result->titleThe title of the topic.
$result->iconThe icon of the topic (not that this is a number).
$result->mailIf "1" send an e-mail when a new post is placed in this topic.
$result->closedIf "1" this topic is closed (ni new post may be added).
$result->num_reactionsThe number of reactiobns (posts).
$result->last_pidThe ID of the last post in this topic.

« Previous | Index | Next »