|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Course
Defined in obj-course.js
Version: 1.0
Author: mpollack
Field Summary | |
array |
chapters
Chapter objects in a sequential array |
array |
chaptersID
Chapter objects in an associative array |
string |
lang
The language of the course |
string |
objname
Name given to identify object on debug |
string |
oid
The course ID |
Main |
par
Reference to parent object |
string |
subtitle
The sub title of the course |
string |
title
The title of the course |
Constructor Summary | |
Course(<Main> p)
Contains data tree for entire course |
Method Summary | |
void
|
dump()
Loops through entire course tree and sends information to the debug window if turned on |
Chapter
|
getChapterByID(<string> i)
Gets the chapter from a supplied ID |
void
|
getData()
sends the command to get the course data |
void
|
setData(<string> d)
Sets data on the object using a delimited string sent via the jshook api. |
Field Detail |
array chapters
array chaptersID
string lang
string objname
string oid
Main par
string subtitle
string title
Constructor Detail |
Course(<Main> p)
p
- parent object reference
Method Detail |
void dump()
Chapter getChapterByID(<string> i)
i
- chapter id
void getData()
void setData(<string> d)
d
- delimited string with js commands
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |