discussSection Class Reference

List of all members.

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


Detailed Description

The discussSection class GlobalID = discuss/sectionID

Definition at line 6 of file discussSection.php.


Member Function Documentation

discussSection::discussSection ( sectionID  ) 

Definition at line 18 of file discussSection.php.

References $sectionID, description, load(), save(), title, and viewLevel.

Here is the call graph for this function:

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().

Here is the call graph for this function:

discussSection::forumByID ( forumID  ) 

Internal convenience function for reverse forum id lookup

Definition at line 79 of file discussSection.php.

Referenced by render().

discussSection::userCanView (  ) 

Definition at line 84 of file discussSection.php.

References viewLevel.

Referenced by render().

discussSection::render (  ) 

Definition at line 98 of file discussSection.php.

References $subscriptions, discuss_rebuildUserCache(), forumByID(), and userCanView().

Here is the call graph for this function:


Member Data Documentation

discussSection::$sectionID

long The section's ID

Definition at line 8 of file discussSection.php.

Referenced by discussSection().

discussSection::$globalID

string The globalID

Definition at line 9 of file discussSection.php.

discussSection::$title

string The title of the forum

Definition at line 10 of file discussSection.php.

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.


The documentation for this class was generated from the following file:

Generated on Sun Oct 26 20:33:15 2008 for The Travelsized Content Management System by  doxygen 1.5.5