Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class Chapter

    Object
       |
       +--Chapter

class Chapter

Defined in obj-chapter.js
Version: 1.0
Author: mpollack

Field Summary
`int` | `num` Chapter number
`string` | `objname` Name given to identify object on debug
`string` | `oid` Chapter ID
`Course` | `par` Reference to parent object
`Object` | `sections` Section objects in a sequential array
`Object` | `sectionsID` Section objects in an associative array
`string` | `title` Chapter title
`string` | `type` Chapter tytpe

Constructor Summary
`Chapter(<Course> p,<string> id,<string> ti,<string> ty,<int> nu)` Contains data for a chapter

Method Summary
`void` | `dump()` Sends debug information on all properties to the debug window
`Section` | `getSectionByID(<string> i)` Gets the section from a supplied ID

Field Detail

### num

    int num

Chapter number

### objname

    string objname

Name given to identify object on debug

### oid

    string oid

Chapter ID

### par

    Course par

Reference to parent object

### sections

    Object sections

Section objects in a sequential array

### sectionsID

    Object sectionsID

Section objects in an associative array

### title

    string title

Chapter title

### type

    string type

Chapter tytpe

Constructor Detail

### Chapter

    Chapter(<Course> p,<string> id,<string> ti,<string> ty,<int> nu)

Contains data for a chapter

Parameters:

`p` - parent object reference

`id` - chapter ID

`ti` - chapter title

`ty` - chapter type

`nu` - chapter number

Version: 1.0
Author: mpollack

Method Detail

### dump

    void dump()

Sends debug information on all properties to the debug window

### getSectionByID

    Section getSectionByID(<string> i)

Gets the section from a supplied ID

Parameters:

`i` - section id

Returns:

A Section instance

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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