SourceForge Logo
1.4.2: info_by_sid


Description
Get all data of a specified subcategory.

Function call
info_by_sid ($sid);

Input
ParameterDescription
$sidThe Subcategory ID where all data must be returned from.


Output
The output is an object:

VarDescription
$result->sidThe ID of the suncategory.
$result->cidThe ID of the category to which the subcategory belongs.
$result->moderator_onlyIf "1" the forum is for moderators only.
$result->stitleThe visible name of the subcategory.
$result->descriptionThe description of the subcategory.
$result->abbrevA abbreviation of the category (maximum of 4 chars).
$result->num_topicsThe number of topics in the subcategory
$result->num_postsThe number of posts in the subcategory
$result->last_pidThe ID of the last post in this subcategory
$result->moderator_uidThe User ID of the moderator
$result->moderator_usernameThe Username of the moderator

« Previous | Index | Next »