SourceForge Logo
1.4.4: info_by_pid


Description
Get all data of a specified post.

Function call
info_by_pid ($pid);

Input
ParameterDescription
$pidThe post ID where all data must be returned from.


Output
The output is an object:

VarDescription
$info->pidThe ID of the post.
$info->tidThe Topic ID in which it's placed.
$info->textThe content of the post (the text).
$info->timestampTimestamp of the post placement.
$info->first_postIf set to "1" this is the first post in a topic.
$info->iconThe icon of the post (Note that this is a number).
$info->enable_smiliesIf "1" smilies will be proccesed, else it will stay plaintext.
$info->uidThe User ID of the poster.
$info->usernameThe username of the poster.

« Previous | Index | Next »