Class Topic

Object
   |
   +--Topic

class Topic

Defined in obj-topic.js

Version: 1.0

Author: mpollack


Field Summary
 int num
          Topic number
 string objname
          Name given to identify object on debug
 string oid
          Topic ID
 array pages
          Page objects in a sequential array
 array pagesID
          Topic objects in an associative array
 Section par
          Reference to parent object
 string title
          Topic title
 string type
          Topic type
 
Constructor Summary
Topic(<Section> p,<string> id,<string> ti,<string> ty,<int> nu)
            Contains data for a topic
 
Method Summary
 Boolean containsMediaByFilter(<string> f)
           Checks the topic to see if any pages furth down the tree contain media of a particular type
 void dump()
           Sends debug information on all properties to the debug window
 Page getPageByID(<string> i)
           Gets the page from a supplied ID

Field Detail

num

int num

objname

string objname

oid

string oid

pages

array pages

pagesID

array pagesID

par

Section par

title

string title

type

string type

Constructor Detail

Topic

Topic(<Section> p,<string> id,<string> ti,<string> ty,<int> nu)

Method Detail

containsMediaByFilter

Boolean containsMediaByFilter(<string> f)

dump

void dump()

getPageByID

Page getPageByID(<string> i)


Documentation generated by JSDoc on Tue Mar 4 12:01:48 2008