Public Member Functions | |
discussSection ($sectionID) | |
load () | |
save () | |
forumByID ($forumID) | |
userCanView () | |
render () | |
Public Attributes | |
$sectionID | |
long The section's ID | |
$globalID | |
string The globalID | |
$title | |
string The title of the forum | |
$description | |
string The description of the forum - a single line of text, without any type of formatting | |
$viewLevel | |
integer Viewing allowance level - Anonymous/Registered only (defaults to everybody) | |
$forums | |
array The forums contained in this section, in order of appearance | |
$forumPositions | |
Private Attributes | |
$forumKeys |
Definition at line 6 of file discussSection.php.
discussSection::discussSection | ( | $ | sectionID | ) |
Definition at line 18 of file discussSection.php.
References $sectionID, description, load(), save(), title, and viewLevel.
discussSection::load | ( | ) |
Definition at line 41 of file discussSection.php.
References $discussContentDirectory, description, title, and viewLevel.
Referenced by discussSection().
discussSection::save | ( | ) |
Definition at line 61 of file discussSection.php.
References $discussContentDirectory, array_export(), description, title, and viewLevel.
Referenced by discussSection().
discussSection::forumByID | ( | $ | forumID | ) |
Internal convenience function for reverse forum id lookup
Definition at line 79 of file discussSection.php.
Referenced by render().
discussSection::userCanView | ( | ) |
discussSection::render | ( | ) |
Definition at line 98 of file discussSection.php.
References $subscriptions, discuss_rebuildUserCache(), forumByID(), and userCanView().
discussSection::$sectionID |
long The section's ID
Definition at line 8 of file discussSection.php.
Referenced by discussSection().
discussSection::$globalID |
discussSection::$title |
discussSection::$description |
string The description of the forum - a single line of text, without any type of formatting
Definition at line 11 of file discussSection.php.
discussSection::$viewLevel |
integer Viewing allowance level - Anonymous/Registered only (defaults to everybody)
Definition at line 12 of file discussSection.php.
discussSection::$forums |
array The forums contained in this section, in order of appearance
Definition at line 13 of file discussSection.php.
discussSection::$forumPositions |
array The order of the forums contained in this section (this is the option)
Definition at line 14 of file discussSection.php.
discussSection::$forumKeys [private] |
array Internally used backways lookup table for forums...
Definition at line 16 of file discussSection.php.