|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Section
Defined in obj-section.js
Version: 1.0
Author: mpollack
Field Summary | |
string |
num
Section number |
string |
objname
Name given to identify object on debug |
string |
oid
Section ID |
Chapter |
par
Reference to parent object |
string |
title
Section title |
array |
topics
Topic objects in a sequential array |
array |
topicsID
Topic objects in an associative array |
string |
type
Section type |
Constructor Summary | |
Section(<Course> p,<string> id,<string> ti,<string> ty,<int> nu)
Contains data for a section |
Method Summary | |
Boolean
|
containsMediaByFilter(<string> f)
Checks the section 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 |
Topic
|
getTopicByID(<string> i)
Gets the topic from a supplied ID |
Field Detail |
string num
string objname
string oid
Chapter par
string title
array topics
array topicsID
string type
Constructor Detail |
Section(<Course> p,<string> id,<string> ti,<string> ty,<int> nu)
p
- parent object reference
id
- section ID
ti
- section title
ty
- section type
nu
- section number
Method Detail |
Boolean containsMediaByFilter(<string> f)
f
- media filter type
void dump()
Topic getTopicByID(<string> i)
i
- topic id
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |