Public Member Functions | |
cctHelper ($matches) | |
INSERT BRIEF DESCRIPTION HERE. | |
checkMedia () | |
INSERT BRIEF DESCRIPTION HERE. | |
clearErrors () | |
INSERT BRIEF DESCRIPTION HERE. | |
fixLitBlocks ($matches) | |
INSERT BRIEF DESCRIPTION HERE. | |
fixPreBlocks ($matches) | |
INSERT BRIEF DESCRIPTION HERE. | |
getErrors () | |
INSERT BRIEF DESCRIPTION HERE. | |
getEvent ($whichEvent) | |
Retrieves a particular event; each step in a lesson outline is an "event" and has an estimated time to be spent on the event and paragraph or two describing what should be done at this phase of the lesson plan. | |
getEventContent ($whichEvent) | |
Retrieves content of specified event. | |
getEventName ($whichEvent) | |
Retrives name of specified event. | |
getEvents () | |
Retrieves list of all events. | |
getEventTime ($whichEvent) | |
Retrieves time of specified event. | |
getGradeLevel () | |
Retrieves grade level that lesson plan applies to This is a string such as "Grade 6," "Kindergarten," "Year 2," or "Preschool.". | |
getKeyTerms () | |
INSERT BRIEF DESCRIPTION HERE. | |
getLessonAbstract () | |
Retrieves abstract that describes lesson. | |
getLessonTitle () | |
Retrieves lesson title. | |
getMediaUsed () | |
Retrieves a list of media items used in this lesson. | |
getObjectives () | |
Retrieves list of objectives of this lesson. | |
getOutlineFieldNames () | |
INSERT BRIEF DESCRIPTION HERE. | |
getOutlineFields () | |
INSERT BRIEF DESCRIPTION HERE. | |
getOutlineType () | |
INSERT BRIEF DESCRIPTION HERE. | |
getPrereqs () | |
Retrieves a description of prerequisites required for this lesson. | |
getRequiredEquipment () | |
Retrieves a list of equipment required for this lesson. | |
getRequiredMaterials () | |
Retrieves list of materials needed for this lesson. | |
getSafety () | |
Retrieves safety information for this lesson. | |
getStandardsAddressed () | |
Retrieves list of standards that are addressed by the lesson. | |
getTeacherPrep () | |
Retrieves a description of what the teacher should do to prepare for the lesson. | |
getWhichOutline () | |
Retrieves the 'whichOutline' key for this lesson plan. | |
getXML () | |
Retrieves XML form of this lesson plan. | |
litHelper ($matches) | |
INSERT BRIEF DESCRIPTION HERE. | |
setOutlineField ($sname, $time, $content) | |
INSERT BRIEF DESCRIPTION HERE. | |
setOutlineType ($type) | |
INSERT BRIEF DESCRIPTION HERE. | |
setStandardFields ($contentArray) | |
Sets the content of the lesson plan. | |
updateFileList () | |
INSERT BRIEF DESCRIPTION HERE. | |
Static Public Attributes | |
static | $NICE_NAMES |
This content module contains support for lesson-plan XML (which is just Standard XML 3.0 with a special translator: STransLessonPlan). A lesson plan contains many sections which have special code to deal with them in this class. But ultimately, Standard XML is generated. (Note, however, that the information stored in the database is NOT Standard XML but rather the values of a number of attributes, from which XML is generated when getXML is called.)
SnapContentLessonPlan::cctHelper | ( | $ | matches | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$matches | [TYPE]: DESCRIPTION |
SnapContentLessonPlan::checkMedia | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SnapContent.
SnapContentLessonPlan::clearErrors | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
SnapContentLessonPlan::fixLitBlocks | ( | $ | matches | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$matches | [TYPE]: DESCRIPTION |
SnapContentLessonPlan::fixPreBlocks | ( | $ | matches | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$matches | [TYPE]: DESCRIPTION |
SnapContentLessonPlan::getErrors | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
SnapContentLessonPlan::getEvent | ( | $ | whichEvent | ) |
Retrieves a particular event; each step in a lesson outline is an "event" and has an estimated time to be spent on the event and paragraph or two describing what should be done at this phase of the lesson plan.
$whichEvent | [integer]: number of event to retrieve from events array. Events are ordered by their order in the lesson plan. |
SnapContentLessonPlan::getEventContent | ( | $ | whichEvent | ) |
Retrieves content of specified event.
$whichEvent | [integer]: event to retrieve content for |
SnapContentLessonPlan::getEventName | ( | $ | whichEvent | ) |
Retrives name of specified event.
$whichEvent | [integer]: event to retrieve name for |
SnapContentLessonPlan::getEvents | ( | ) |
Retrieves list of all events.
SnapContentLessonPlan::getEventTime | ( | $ | whichEvent | ) |
Retrieves time of specified event.
$whichEvent | [integer]: event to retrieve time for |
SnapContentLessonPlan::getGradeLevel | ( | ) |
Retrieves grade level that lesson plan applies to This is a string such as "Grade 6," "Kindergarten," "Year 2," or "Preschool.".
SnapContentLessonPlan::getKeyTerms | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
SnapContentLessonPlan::getLessonAbstract | ( | ) |
Retrieves abstract that describes lesson.
SnapContentLessonPlan::getLessonTitle | ( | ) |
Retrieves lesson title.
SnapContentLessonPlan::getMediaUsed | ( | ) |
Retrieves a list of media items used in this lesson.
SnapContentLessonPlan::getObjectives | ( | ) |
Retrieves list of objectives of this lesson.
SnapContentLessonPlan::getOutlineFieldNames | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
SnapContentLessonPlan::getOutlineFields | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
SnapContentLessonPlan::getOutlineType | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
SnapContentLessonPlan::getPrereqs | ( | ) |
Retrieves a description of prerequisites required for this lesson.
SnapContentLessonPlan::getRequiredEquipment | ( | ) |
Retrieves a list of equipment required for this lesson.
SnapContentLessonPlan::getRequiredMaterials | ( | ) |
Retrieves list of materials needed for this lesson.
SnapContentLessonPlan::getSafety | ( | ) |
Retrieves safety information for this lesson.
SnapContentLessonPlan::getStandardsAddressed | ( | ) |
Retrieves list of standards that are addressed by the lesson.
SnapContentLessonPlan::getTeacherPrep | ( | ) |
Retrieves a description of what the teacher should do to prepare for the lesson.
SnapContentLessonPlan::getWhichOutline | ( | ) |
Retrieves the 'whichOutline' key for this lesson plan.
The 'whichOutline' key specifies which type of lesson plan is being used (for those components that differ among the lesson plan types)
SnapContentLessonPlan::getXML | ( | ) |
Retrieves XML form of this lesson plan.
This method converts the information about the lesson plan to Standard XML 3.0 and returns that. The XML returned is meant to be translated by STransLessonPlan.
SnapContentLessonPlan::litHelper | ( | $ | matches | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$matches | [TYPE]: DESCRIPTION |
SnapContentLessonPlan::setOutlineField | ( | $ | sname, | |
$ | time, | |||
$ | content | |||
) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$sname | [TYPE]: DESCRIPTION | |
$time | [TYPE]: DESCRIPTION | |
$content | [TYPE]: DESCRIPTION |
SnapContentLessonPlan::setOutlineType | ( | $ | type | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
$type | [TYPE]: DESCRIPTION |
SnapContentLessonPlan::setStandardFields | ( | $ | contentArray | ) |
Sets the content of the lesson plan.
The $contentArray parameter takes the following keys:
lessonTitle [string]
: Title of lesson (required) gradeLevel [string]
: Grade level of lesson (required) lessonAbstract [string]
: Abstract describing lesson (required) standardsAddressed [array]
: Array of strings naming standards that lesson addresses (optional) objectives [array]
: Array of strings naming objectives of this lesson (optional) prereqs [string]
: Description of prerequisites needed for lesson (required) teacherPrep [string]
: Preparation that the teacher should undertake before doing the lesson (required) requiredMaterials [array]
: Array of strings giving materials needed for lesson (optional) mediaUsed [array]
: Array of strings giving media items and resources needed for lesson (optional) requiredEquipment [array]
: Array of strings giving pieces of equipment needed for lesson (optional) safety [string]
: Discussion of any safety issues related to lesson (required) events [array]
: Each element should be an array with three named elements: 'name', which is the name of the template item; 'time': the amount of time required for the item; and 'content' which is a description of the item. Each lesson plan template has its own set of items that need to be filled and those are not checked here. The entries need not have any values (that is, they are 'optional'). whichOutline [int]
: Which lesson plan template to use; index into $PLANEVENTS array above. It is best to look at TKSnapLessonPlanEditor to see how to use this method as it is currently the only user of this method.
$contentArray | [array]: array of information needed to build the lesson plan |
SnapContentLessonPlan::updateFileList | ( | ) |
INSERT BRIEF DESCRIPTION HERE.
INSERT FULL DESCRIPTION HERE
Reimplemented from SnapContent.
SnapContentLessonPlan::$NICE_NAMES [static] |
The text field name (value) for the given database field (key)