Class: iHRIS Scheduled Training Course (Development): Difference between revisions
(Created page with '{{otherversions|Class: iHRIS_Scheduled_Training_Course}} This article describes the class ''iHRIS_Scheduled_Training_Course'' . *Extends the class: [[Class: I2CE_List (Developmen…') |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
This article describes the class ''iHRIS_Scheduled_Training_Course'' . | This article describes the class ''iHRIS_Scheduled_Training_Course'' . | ||
*Extends the class: [[Class: I2CE_List (Development) | I2CE_List]]. | *Extends the class: [[Class: I2CE_List (Development) | I2CE_List]]. | ||
*Location: Part of the module [[iHRIS Common Module List (Development)#training-course|training-course]] in the package [https://launchpad.net/ihris-common iHRIS Common] 4. | *Location: Part of the module [[iHRIS Common Module List (Development)#training-course|training-course]] in the package [https://launchpad.net/ihris-common iHRIS Common] 4.1-dev | ||
*Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Source: Defined in the file [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L37 modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 37 | ||
*Author: Carl Leitner <litlfred@ibiblio.org> | *Author: Carl Leitner <litlfred@ibiblio.org> | ||
iHRIS_Scheduled_Training_Course | iHRIS_Scheduled_Training_Course | ||
Line 24: | Line 24: | ||
===location=== | ===location=== | ||
The form field ''location'' is implemented by [[Class: I2CE_FormField_MAP (Development) |MAP ]] | The form field ''location'' is implemented by [[Class: I2CE_FormField_MAP (Development) |MAP ]] | ||
===training_instructor=== | |||
The form field ''training_instructor'' is implemented by [[Class: I2CE_FormField_REFERENCE (Development) |REFERENCE ]] | |||
==Inherited Form Fields== | ==Inherited Form Fields== | ||
===remap=== | |||
The form field ''remap'' is implemented by [[Class: I2CE_FormField_REMAP (Development) |REMAP ]]is inherited from the class [[Class: I2CE_List (Development)|I2CE_List]] | |||
===i2ce_hidden=== | ===i2ce_hidden=== | ||
The form field ''i2ce_hidden'' is implemented by [[Class: I2CE_FormField_YESNO (Development) |YESNO ]]is inherited from the class [[Class: I2CE_List (Development)|I2CE_List]] | The form field ''i2ce_hidden'' is implemented by [[Class: I2CE_FormField_YESNO (Development) |YESNO ]]is inherited from the class [[Class: I2CE_List (Development)|I2CE_List]] | ||
==Methods== | ==Methods== | ||
===enrolledStudents()=== | ===enrolledStudents()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L792 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 792 | ||
*Signature: public function enrolledStudents($node,$template,$args) | *Signature: public function enrolledStudents($node,$template,$args) | ||
*Parameters: | *Parameters: | ||
Line 43: | Line 41: | ||
**$template | **$template | ||
**$args | **$args | ||
===enrolledStudentsAjax()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L39 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 39 | |||
*Signature: public function enrolledStudentsAjax($node,$template) | |||
*Parameters: | |||
**$node | |||
**$template | |||
===enrolledStudentsExpander()=== | ===enrolledStudentsExpander()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L53 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 53 | ||
*Signature: public function enrolledStudentsExpander($node,$template) | *Signature: public function enrolledStudentsExpander($node,$template) | ||
*Parameters: | *Parameters: | ||
Line 50: | Line 54: | ||
**$template | **$template | ||
===enrolledStudentsList()=== | ===enrolledStudentsList()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L110 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 110 | ||
*Signature: public function enrolledStudentsList($node,$template) | *Signature: public function enrolledStudentsList($node,$template) | ||
*Parameters: | |||
**$node | |||
**$template | |||
===enrolledStudentsListCompact()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L307 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 307 | |||
*Signature: public function enrolledStudentsListCompact($node,$template) | |||
*Parameters: | |||
**$node | |||
**$template | |||
===evaluateStudents()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L63 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 63 | |||
*Signature: public function evaluateStudents($node,$template) | |||
*Parameters: | *Parameters: | ||
**$node | **$node | ||
**$template | **$template | ||
===getEnrolledStudents()=== | ===getEnrolledStudents()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L681 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 681 | ||
*Signature: public function getEnrolledStudents() | *Signature: public function getEnrolledStudents() | ||
===getScheduledCourses()=== | ===getScheduledCourses()=== | ||
Return the list of scheduled course for the given course id. | Return the list of scheduled course for the given course id. | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L805 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 805 | ||
*Signature: static public function getScheduledCourses($course_id,$flat) | *Signature: static public function getScheduledCourses($course_id,$flat) | ||
*Parameters: | *Parameters: | ||
Line 69: | Line 85: | ||
*Returns: [http://www.php.net/manual/en/language.types.array.php array ]<br/>the keys are the id of the scheduled course, the values are the string "$start_date -- $end_date" | *Returns: [http://www.php.net/manual/en/language.types.array.php array ]<br/>the keys are the id of the scheduled course, the values are the string "$start_date -- $end_date" | ||
===getScheduledStudentIds()=== | ===getScheduledStudentIds()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L754 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 754 | ||
*Signature: public function getScheduledStudentIds() | *Signature: public function getScheduledStudentIds() | ||
===numberEnrolledStudents()=== | ===numberEnrolledStudents()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L675 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 675 | ||
*Signature: public function numberEnrolledStudents($node,$template) | *Signature: public function numberEnrolledStudents($node,$template) | ||
*Parameters: | *Parameters: | ||
**$node | **$node | ||
**$template | **$template | ||
=== | ===prepostScores()=== | ||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L556 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 556 | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4. | *Signature: public function prepostScores($node,$template) | ||
*Signature: public function | *Parameters: | ||
**$node | |||
**$template | |||
===studentModules()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L474 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 474 | |||
*Signature: public function studentModules($node,$template) | |||
*Parameters: | |||
**$node | |||
**$template | |||
===surnameSort()=== | |||
*Defined in [http://bazaar.launchpad.net/~intrahealth+informatics/ihris-common/4.1-dev/annotate/head:/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php#L734 common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php] on line 734 | |||
*Signature: public function surnameSort($a,$b) | |||
*Parameters: | |||
**$a | |||
**$b | |||
==Inherited Methods== | ==Inherited Methods== | ||
===buildDataTree()=== | |||
This public method is inherited from [[Class: I2CE_List (Development)#buildDataTree() | I2CE_List->buildDataTree()]] | |||
===componentizeQuery()=== | ===componentizeQuery()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)#componentizeQuery() | I2CE_List->componentizeQuery()]] | This public method is inherited from [[Class: I2CE_List (Development)#componentizeQuery() | I2CE_List->componentizeQuery()]] | ||
=== | ===findLowerMatches()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)# | This public method is inherited from [[Class: I2CE_List (Development)#findLowerMatches() | I2CE_List->findLowerMatches()]] | ||
===flattenDataTree()=== | ===flattenDataTree()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)#flattenDataTree() | I2CE_List->flattenDataTree()]] | This public method is inherited from [[Class: I2CE_List (Development)#flattenDataTree() | I2CE_List->flattenDataTree()]] | ||
===getDisplayFieldStyles()=== | |||
This public method is inherited from [[Class: I2CE_List (Development)#getDisplayFieldStyles() | I2CE_List->getDisplayFieldStyles()]] | |||
===getDisplayFields()=== | ===getDisplayFields()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)#getDisplayFields() | I2CE_List->getDisplayFields()]] | This public method is inherited from [[Class: I2CE_List (Development)#getDisplayFields() | I2CE_List->getDisplayFields()]] | ||
=== | ===getDisplayString()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)# | This public method is inherited from [[Class: I2CE_List (Development)#getDisplayString() | I2CE_List->getDisplayString()]] | ||
===getFieldsMappingToList()=== | |||
This public method is inherited from [[Class: I2CE_List (Development)#getFieldsMappingToList() | I2CE_List->getFieldsMappingToList()]] | |||
===getHTMLTemplate()=== | ===getHTMLTemplate()=== | ||
Line 105: | Line 144: | ||
===getSortFields()=== | ===getSortFields()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)#getSortFields() | I2CE_List->getSortFields()]] | This public method is inherited from [[Class: I2CE_List (Development)#getSortFields() | I2CE_List->getSortFields()]] | ||
===getViewTemplate()=== | |||
This public method is inherited from [[Class: I2CE_List (Development)#getViewTemplate() | I2CE_List->getViewTemplate()]] | |||
===isList()=== | |||
This public method is inherited from [[Class: I2CE_List (Development)#isList() | I2CE_List->isList()]] | |||
===listOptions()=== | ===listOptions()=== | ||
Line 111: | Line 156: | ||
===lookup()=== | ===lookup()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)#lookup() | I2CE_List->lookup()]] | This public method is inherited from [[Class: I2CE_List (Development)#lookup() | I2CE_List->lookup()]] | ||
===name()=== | ===name()=== | ||
Line 120: | Line 162: | ||
===setDisplayData()=== | ===setDisplayData()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)#setDisplayData() | I2CE_List->setDisplayData()]] | This public method is inherited from [[Class: I2CE_List (Development)#setDisplayData() | I2CE_List->setDisplayData()]] | ||
===showHiddenLimit()=== | |||
This public method is inherited from [[Class: I2CE_List (Development)#showHiddenLimit() | I2CE_List->showHiddenLimit()]] | |||
===walkupFieldPath()=== | ===walkupFieldPath()=== | ||
This public method is inherited from [[Class: I2CE_List (Development)#walkupFieldPath() | I2CE_List->walkupFieldPath()]] | This public method is inherited from [[Class: I2CE_List (Development)#walkupFieldPath() | I2CE_List->walkupFieldPath()]] | ||
=== | ===_findLowerMatches()=== | ||
This protected method is inherited from [[Class: I2CE_List (Development)# | This protected method is inherited from [[Class: I2CE_List (Development)#_findLowerMatches() | I2CE_List->_findLowerMatches()]] | ||
===_getDisplayFields()=== | |||
This protected method is inherited from [[Class: I2CE_List (Development)#_getDisplayFields() | I2CE_List->_getDisplayFields()]] | |||
===_getDisplayString()=== | |||
This protected method is inherited from [[Class: I2CE_List (Development)#_getDisplayString() | I2CE_List->_getDisplayString()]] | |||
===_getSortFields()=== | |||
This protected method is inherited from [[Class: I2CE_List (Development)#_getSortFields() | I2CE_List->_getSortFields()]] | |||
=== | ===_searchLowerMatches()=== | ||
This protected method is inherited from [[Class: I2CE_List (Development)# | This protected method is inherited from [[Class: I2CE_List (Development)#_searchLowerMatches() | I2CE_List->_searchLowerMatches()]] | ||
===addCache()=== | ===addCache()=== | ||
Line 138: | Line 192: | ||
===isCached()=== | ===isCached()=== | ||
This protected method is inherited from [[Class: I2CE_List (Development)#isCached() | I2CE_List->isCached()]] | This protected method is inherited from [[Class: I2CE_List (Development)#isCached() | I2CE_List->isCached()]] | ||
===__construct()=== | ===__construct()=== | ||
Line 148: | Line 199: | ||
This public method is inherited from [[Class: I2CE_Form (Development)#addChildForm() | I2CE_Form->addChildForm()]] | This public method is inherited from [[Class: I2CE_Form (Development)#addChildForm() | I2CE_Form->addChildForm()]] | ||
=== | ===childFormAdded()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#childFormAdded() | I2CE_Form->childFormAdded()]] | ||
===cleanup()=== | ===cleanup()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#cleanup() | I2CE_Form->cleanup()]] | This public method is inherited from [[Class: I2CE_Form (Development)#cleanup() | I2CE_Form->cleanup()]] | ||
===displayField()=== | ===displayField()=== | ||
Line 168: | Line 213: | ||
===getAllowedParentForms()=== | ===getAllowedParentForms()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#getAllowedParentForms() | I2CE_Form->getAllowedParentForms()]] | This public method is inherited from [[Class: I2CE_Form (Development)#getAllowedParentForms() | I2CE_Form->getAllowedParentForms()]] | ||
===getChildForms()=== | ===getChildForms()=== | ||
Line 187: | Line 229: | ||
This public method is inherited from [[Class: I2CE_Form (Development)#getField() | I2CE_Form->getField()]] | This public method is inherited from [[Class: I2CE_Form (Development)#getField() | I2CE_Form->getField()]] | ||
=== | ===getFormID()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#getFormID() | I2CE_Form->getFormID()]] | ||
=== | ===getHistory()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#getHistory() | I2CE_Form->getHistory()]] | ||
===getParent()=== | ===getParent()=== | ||
Line 208: | Line 244: | ||
This public method is inherited from [[Class: I2CE_Form (Development)#getParentID() | I2CE_Form->getParentID()]] | This public method is inherited from [[Class: I2CE_Form (Development)#getParentID() | I2CE_Form->getParentID()]] | ||
=== | ===getPost()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#getPost() | I2CE_Form->getPost()]] | ||
===listFields()=== | ===listFields()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#listFields() | I2CE_Form->listFields()]] | This public method is inherited from [[Class: I2CE_Form (Development)#listFields() | I2CE_Form->listFields()]] | ||
=== | ===parentIsSet()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#parentIsSet() | I2CE_Form->parentIsSet()]] | ||
===processDOM()=== | ===processDOM()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#processDOM() | I2CE_Form->processDOM()]] | This public method is inherited from [[Class: I2CE_Form (Development)#processDOM() | I2CE_Form->processDOM()]] | ||
===reset()=== | ===reset()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#reset() | I2CE_Form->reset()]] | This public method is inherited from [[Class: I2CE_Form (Development)#reset() | I2CE_Form->reset()]] | ||
===search()=== | ===search()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#search() | I2CE_Form->search()]] | This public method is inherited from [[Class: I2CE_Form (Development)#search() | I2CE_Form->search()]] | ||
=== | ===setCreated()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#setCreated() | I2CE_Form->setCreated()]] | ||
===setDisplayName()=== | ===setDisplayName()=== | ||
Line 262: | Line 274: | ||
This public method is inherited from [[Class: I2CE_Form (Development)#setFromPost() | I2CE_Form->setFromPost()]] | This public method is inherited from [[Class: I2CE_Form (Development)#setFromPost() | I2CE_Form->setFromPost()]] | ||
=== | ===setLastModified()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)# | This public method is inherited from [[Class: I2CE_Form (Development)#setLastModified() | I2CE_Form->setLastModified()]] | ||
===setParent()=== | ===setParent()=== | ||
This public method is inherited from [[Class: I2CE_Form (Development)#setParent() | I2CE_Form->setParent()]] | This public method is inherited from [[Class: I2CE_Form (Development)#setParent() | I2CE_Form->setParent()]] | ||
=== | ===isValidFieldName()=== | ||
This | This protected method is inherited from [[Class: I2CE_Form (Development)#isValidFieldName() | I2CE_Form->isValidFieldName()]] | ||
===lookupArray()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#lookupArray() | I2CE_Form->lookupArray()]] | |||
===preProcessFieldArgs()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#preProcessFieldArgs() | I2CE_Form->preProcessFieldArgs()]] | |||
===setupCreatedField()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#setupCreatedField() | I2CE_Form->setupCreatedField()]] | |||
===setupLastModifiedField()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#setupLastModifiedField() | I2CE_Form->setupLastModifiedField()]] | |||
===setupParentField()=== | |||
This protected method is inherited from [[Class: I2CE_Form (Development)#setupParentField() | I2CE_Form->setupParentField()]] | |||
===__get()=== | ===__get()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__get() | I2CE_FieldContainer->__get()]] | ||
===__isset()=== | ===__isset()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__isset() | I2CE_FieldContainer->__isset()]] | ||
===__set()=== | ===__set()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__set() | I2CE_FieldContainer->__set()]] | ||
===__unset()=== | ===__unset()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#__unset() | I2CE_FieldContainer->__unset()]] | ||
=== | ===addField()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#addField() | I2CE_FieldContainer->addField()]] | ||
=== | ===clearFields()=== | ||
This | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#clearFields() | I2CE_FieldContainer->clearFields()]] | ||
=== | ===current()=== | ||
This protected method is inherited from [[Class: | This public method is inherited from [[Class: I2CE_FieldContainer (Development)#current() | I2CE_FieldContainer->current()]] | ||
===getAttribute()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getAttribute() | I2CE_FieldContainer->getAttribute()]] | |||
===getContainerIndex()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getContainerIndex() | I2CE_FieldContainer->getContainerIndex()]] | |||
===getContainerType()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getContainerType() | I2CE_FieldContainer->getContainerType()]] | |||
===getFieldNames()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getFieldNames() | I2CE_FieldContainer->getFieldNames()]] | |||
===getHTMLName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getHTMLName() | I2CE_FieldContainer->getHTMLName()]] | |||
===getId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getId() | I2CE_FieldContainer->getId()]] | |||
===getLoad()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getLoad() | I2CE_FieldContainer->getLoad()]] | |||
===getMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getMeta() | I2CE_FieldContainer->getMeta()]] | |||
===getName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getName() | I2CE_FieldContainer->getName()]] | |||
===getNameId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getNameId() | I2CE_FieldContainer->getNameId()]] | |||
===getQueryDisplay()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryDisplay() | I2CE_FieldContainer->getQueryDisplay()]] | |||
===getQueryFields()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryFields() | I2CE_FieldContainer->getQueryFields()]] | |||
===getQueryString()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#getQueryString() | I2CE_FieldContainer->getQueryString()]] | |||
===hasAttribute()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasAttribute() | I2CE_FieldContainer->hasAttribute()]] | |||
===hasField()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasField() | I2CE_FieldContainer->hasField()]] | |||
===hasInvalid()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasInvalid() | I2CE_FieldContainer->hasInvalid()]] | |||
===hasMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#hasMeta() | I2CE_FieldContainer->hasMeta()]] | |||
===isValid()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#isValid() | I2CE_FieldContainer->isValid()]] | |||
===key()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#key() | I2CE_FieldContainer->key()]] | |||
===load()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#load() | I2CE_FieldContainer->load()]] | |||
===next()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#next() | I2CE_FieldContainer->next()]] | |||
===removeField()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#removeField() | I2CE_FieldContainer->removeField()]] | |||
===rewind()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#rewind() | I2CE_FieldContainer->rewind()]] | |||
===setAttribute()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setAttribute() | I2CE_FieldContainer->setAttribute()]] | |||
===setId()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setId() | I2CE_FieldContainer->setId()]] | |||
===setInvalidMessage()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setInvalidMessage() | I2CE_FieldContainer->setInvalidMessage()]] | |||
===setMeta()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setMeta() | I2CE_FieldContainer->setMeta()]] | |||
===setName()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#setName() | I2CE_FieldContainer->setName()]] | |||
===valid()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#valid() | I2CE_FieldContainer->valid()]] | |||
===validate()=== | |||
This public method is inherited from [[Class: I2CE_FieldContainer (Development)#validate() | I2CE_FieldContainer->validate()]] | |||
===addFields()=== | |||
This protected method is inherited from [[Class: I2CE_FieldContainer (Development)#addFields() | I2CE_FieldContainer->addFields()]] | |||
===getAttributes()=== | |||
This protected method is inherited from [[Class: I2CE_FieldContainer (Development)#getAttributes() | I2CE_FieldContainer->getAttributes()]] | |||
===_hasMethod()=== | ===_hasMethod()=== | ||
This public method is inherited from [[Class: I2CE_Fuzzy (Development)#_hasMethod() | I2CE_Fuzzy->_hasMethod()]] | This public method is inherited from [[Class: I2CE_Fuzzy (Development)#_hasMethod() | I2CE_Fuzzy->_hasMethod()]] | ||
==Inherited Variables== | ==Inherited Variables== | ||
===$mapped_fields_by_form=== | |||
Theis protected variable is inherited from [[Class: I2CE_List (Development)#$mapped_fields_by_form | I2CE_List->$mapped_fields_by_form]] | |||
===$cache=== | ===$cache=== | ||
Theis protected variable is inherited from [[Class: I2CE_List (Development)#$cache | I2CE_List->$cache]] | Theis protected variable is inherited from [[Class: I2CE_List (Development)#$cache | I2CE_List->$cache]] | ||
Line 300: | Line 426: | ||
===$children=== | ===$children=== | ||
Theis public variable is inherited from [[Class: I2CE_Form (Development)#$children | I2CE_Form->$children]] | Theis public variable is inherited from [[Class: I2CE_Form (Development)#$children | I2CE_Form->$children]] | ||
===$parent_forms=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$parent_forms | I2CE_Form->$parent_forms]] | |||
===$parentField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$parentField | I2CE_Form->$parentField]] | |||
===$lastModifiedField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$lastModifiedField | I2CE_Form->$lastModifiedField]] | |||
===$createdField=== | |||
Theis protected variable is inherited from [[Class: I2CE_Form (Development)#$createdField | I2CE_Form->$createdField]] | |||
===$name=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$name | I2CE_FieldContainer->$name]] | |||
===$display_name=== | |||
Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$display_name | I2CE_FieldContainer->$display_name]] | |||
===$fields=== | ===$fields=== | ||
Theis protected variable is inherited from [[Class: | Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$fields | I2CE_FieldContainer->$fields]] | ||
===$ | ===$attributes=== | ||
Theis protected variable is inherited from [[Class: | Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$attributes | I2CE_FieldContainer->$attributes]] | ||
===$id=== | ===$id=== | ||
Theis protected variable is inherited from [[Class: | Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$id | I2CE_FieldContainer->$id]] | ||
===$ | ===$factory=== | ||
Theis protected variable is inherited from [[Class: | Theis protected variable is inherited from [[Class: I2CE_FieldContainer (Development)#$factory | I2CE_FieldContainer->$factory]] | ||
==Inherited Fuzzy Methods== | ==Inherited Fuzzy Methods== | ||
===isNumeric()=== | ===isNumeric()=== | ||
Line 339: | Line 480: | ||
===generateWhereClause()=== | ===generateWhereClause()=== | ||
This method is inherited from [[Class: I2CE_Form (Development)#generateWhereClause() | I2CE_Form->generateWhereClause()]] | This method is inherited from [[Class: I2CE_Form (Development)#generateWhereClause() | I2CE_Form->generateWhereClause()]] | ||
===isComponentized()=== | ===isComponentized()=== | ||
Line 363: | Line 498: | ||
===populate()=== | ===populate()=== | ||
This method is inherited from [[Class: I2CE_Form (Development)#populate() | I2CE_Form->populate()]] | This method is inherited from [[Class: I2CE_Form (Development)#populate() | I2CE_Form->populate()]] | ||
===duplicate()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#duplicate() | I2CE_Form->duplicate()]] | |||
===storeHistory()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#storeHistory() | I2CE_Form->storeHistory()]] | |||
===populateChild()=== | ===populateChild()=== | ||
Line 387: | Line 528: | ||
===setChangeType()=== | ===setChangeType()=== | ||
This method is inherited from [[Class: I2CE_Form (Development)#setChangeType() | I2CE_Form->setChangeType()]] | This method is inherited from [[Class: I2CE_Form (Development)#setChangeType() | I2CE_Form->setChangeType()]] | ||
===changeID()=== | |||
This method is inherited from [[Class: I2CE_Form (Development)#changeID() | I2CE_Form->changeID()]] | |||
===userMessage()=== | ===userMessage()=== |
Latest revision as of 08:32, 6 May 2015
This article describes the class iHRIS_Scheduled_Training_Course .
- Extends the class: I2CE_List.
- Location: Part of the module training-course in the package iHRIS Common 4.1-dev
- Source: Defined in the file modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 37
- Author: Carl Leitner <litlfred@ibiblio.org>
iHRIS_Scheduled_Training_Course
Form Fields
This class is a form class and provides the following form fields
training_course
The form field training_course is implemented by MAP
name
The form field name is implemented by STRING_LINE
num_students
The form field num_students is implemented by INT
notes
The form field notes is implemented by STRING_MLINE
instructors
The form field instructors is implemented by STRING_MLINE
start_date
The form field start_date is implemented by DATE_YMD
end_date
The form field end_date is implemented by DATE_YMD
location
The form field location is implemented by MAP
training_instructor
The form field training_instructor is implemented by REFERENCE
Inherited Form Fields
remap
The form field remap is implemented by REMAP is inherited from the class I2CE_List
The form field i2ce_hidden is implemented by YESNO is inherited from the class I2CE_List
Methods
enrolledStudents()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 792
- Signature: public function enrolledStudents($node,$template,$args)
- Parameters:
- $node
- $template
- $args
enrolledStudentsAjax()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 39
- Signature: public function enrolledStudentsAjax($node,$template)
- Parameters:
- $node
- $template
enrolledStudentsExpander()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 53
- Signature: public function enrolledStudentsExpander($node,$template)
- Parameters:
- $node
- $template
enrolledStudentsList()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 110
- Signature: public function enrolledStudentsList($node,$template)
- Parameters:
- $node
- $template
enrolledStudentsListCompact()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 307
- Signature: public function enrolledStudentsListCompact($node,$template)
- Parameters:
- $node
- $template
evaluateStudents()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 63
- Signature: public function evaluateStudents($node,$template)
- Parameters:
- $node
- $template
getEnrolledStudents()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 681
- Signature: public function getEnrolledStudents()
getScheduledCourses()
Return the list of scheduled course for the given course id.
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 805
- Signature: static public function getScheduledCourses($course_id,$flat)
- Parameters:
- integer $course_id
Defaults to zero meaning we get all courses- Default Value: 0
- boolean $flat
defaults to false- Default Value: false
- integer $course_id
- Returns: array
the keys are the id of the scheduled course, the values are the string "$start_date -- $end_date"
getScheduledStudentIds()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 754
- Signature: public function getScheduledStudentIds()
numberEnrolledStudents()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 675
- Signature: public function numberEnrolledStudents($node,$template)
- Parameters:
- $node
- $template
prepostScores()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 556
- Signature: public function prepostScores($node,$template)
- Parameters:
- $node
- $template
studentModules()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 474
- Signature: public function studentModules($node,$template)
- Parameters:
- $node
- $template
surnameSort()
- Defined in common/modules/TrainingCourse/lib/iHRIS_Scheduled_Training_Course.php on line 734
- Signature: public function surnameSort($a,$b)
- Parameters:
- $a
- $b
Inherited Methods
buildDataTree()
This public method is inherited from I2CE_List->buildDataTree()
componentizeQuery()
This public method is inherited from I2CE_List->componentizeQuery()
findLowerMatches()
This public method is inherited from I2CE_List->findLowerMatches()
flattenDataTree()
This public method is inherited from I2CE_List->flattenDataTree()
getDisplayFieldStyles()
This public method is inherited from I2CE_List->getDisplayFieldStyles()
getDisplayFields()
This public method is inherited from I2CE_List->getDisplayFields()
getDisplayString()
This public method is inherited from I2CE_List->getDisplayString()
getFieldsMappingToList()
This public method is inherited from I2CE_List->getFieldsMappingToList()
getHTMLTemplate()
This public method is inherited from I2CE_List->getHTMLTemplate()
getListType()
This public method is inherited from I2CE_List->getListType()
getSortFields()
This public method is inherited from I2CE_List->getSortFields()
getViewTemplate()
This public method is inherited from I2CE_List->getViewTemplate()
isList()
This public method is inherited from I2CE_List->isList()
listOptions()
This public method is inherited from I2CE_List->listOptions()
lookup()
This public method is inherited from I2CE_List->lookup()
name()
This public method is inherited from I2CE_List->name()
setDisplayData()
This public method is inherited from I2CE_List->setDisplayData()
showHiddenLimit()
This public method is inherited from I2CE_List->showHiddenLimit()
walkupFieldPath()
This public method is inherited from I2CE_List->walkupFieldPath()
_findLowerMatches()
This protected method is inherited from I2CE_List->_findLowerMatches()
_getDisplayFields()
This protected method is inherited from I2CE_List->_getDisplayFields()
_getDisplayString()
This protected method is inherited from I2CE_List->_getDisplayString()
_getSortFields()
This protected method is inherited from I2CE_List->_getSortFields()
_searchLowerMatches()
This protected method is inherited from I2CE_List->_searchLowerMatches()
addCache()
This protected method is inherited from I2CE_List->addCache()
getCache()
This protected method is inherited from I2CE_List->getCache()
isCached()
This protected method is inherited from I2CE_List->isCached()
__construct()
This public method is inherited from I2CE_Form->__construct()
addChildForm()
This public method is inherited from I2CE_Form->addChildForm()
childFormAdded()
This public method is inherited from I2CE_Form->childFormAdded()
cleanup()
This public method is inherited from I2CE_Form->cleanup()
displayField()
This public method is inherited from I2CE_Form->displayField()
form()
This public method is inherited from I2CE_Form->form()
getAllowedParentForms()
This public method is inherited from I2CE_Form->getAllowedParentForms()
getChildForms()
This public method is inherited from I2CE_Form->getChildForms()
getChildFormsByForm()
This public method is inherited from I2CE_Form->getChildFormsByForm()
getChildren()
This public method is inherited from I2CE_Form->getChildren()
getDisplayName()
This public method is inherited from I2CE_Form->getDisplayName()
getField()
This public method is inherited from I2CE_Form->getField()
getFormID()
This public method is inherited from I2CE_Form->getFormID()
getHistory()
This public method is inherited from I2CE_Form->getHistory()
getParent()
This public method is inherited from I2CE_Form->getParent()
getParentForm()
This public method is inherited from I2CE_Form->getParentForm()
getParentID()
This public method is inherited from I2CE_Form->getParentID()
getPost()
This public method is inherited from I2CE_Form->getPost()
listFields()
This public method is inherited from I2CE_Form->listFields()
parentIsSet()
This public method is inherited from I2CE_Form->parentIsSet()
processDOM()
This public method is inherited from I2CE_Form->processDOM()
reset()
This public method is inherited from I2CE_Form->reset()
search()
This public method is inherited from I2CE_Form->search()
setCreated()
This public method is inherited from I2CE_Form->setCreated()
setDisplayName()
This public method is inherited from I2CE_Form->setDisplayName()
setForm()
This public method is inherited from I2CE_Form->setForm()
setFromPost()
This public method is inherited from I2CE_Form->setFromPost()
setLastModified()
This public method is inherited from I2CE_Form->setLastModified()
setParent()
This public method is inherited from I2CE_Form->setParent()
isValidFieldName()
This protected method is inherited from I2CE_Form->isValidFieldName()
lookupArray()
This protected method is inherited from I2CE_Form->lookupArray()
preProcessFieldArgs()
This protected method is inherited from I2CE_Form->preProcessFieldArgs()
setupCreatedField()
This protected method is inherited from I2CE_Form->setupCreatedField()
setupLastModifiedField()
This protected method is inherited from I2CE_Form->setupLastModifiedField()
setupParentField()
This protected method is inherited from I2CE_Form->setupParentField()
__get()
This public method is inherited from I2CE_FieldContainer->__get()
__isset()
This public method is inherited from I2CE_FieldContainer->__isset()
__set()
This public method is inherited from I2CE_FieldContainer->__set()
__unset()
This public method is inherited from I2CE_FieldContainer->__unset()
addField()
This public method is inherited from I2CE_FieldContainer->addField()
clearFields()
This public method is inherited from I2CE_FieldContainer->clearFields()
current()
This public method is inherited from I2CE_FieldContainer->current()
getAttribute()
This public method is inherited from I2CE_FieldContainer->getAttribute()
getContainerIndex()
This public method is inherited from I2CE_FieldContainer->getContainerIndex()
getContainerType()
This public method is inherited from I2CE_FieldContainer->getContainerType()
getFieldNames()
This public method is inherited from I2CE_FieldContainer->getFieldNames()
getHTMLName()
This public method is inherited from I2CE_FieldContainer->getHTMLName()
getId()
This public method is inherited from I2CE_FieldContainer->getId()
getLoad()
This public method is inherited from I2CE_FieldContainer->getLoad()
getMeta()
This public method is inherited from I2CE_FieldContainer->getMeta()
getName()
This public method is inherited from I2CE_FieldContainer->getName()
getNameId()
This public method is inherited from I2CE_FieldContainer->getNameId()
getQueryDisplay()
This public method is inherited from I2CE_FieldContainer->getQueryDisplay()
getQueryFields()
This public method is inherited from I2CE_FieldContainer->getQueryFields()
getQueryString()
This public method is inherited from I2CE_FieldContainer->getQueryString()
hasAttribute()
This public method is inherited from I2CE_FieldContainer->hasAttribute()
hasField()
This public method is inherited from I2CE_FieldContainer->hasField()
hasInvalid()
This public method is inherited from I2CE_FieldContainer->hasInvalid()
hasMeta()
This public method is inherited from I2CE_FieldContainer->hasMeta()
isValid()
This public method is inherited from I2CE_FieldContainer->isValid()
key()
This public method is inherited from I2CE_FieldContainer->key()
load()
This public method is inherited from I2CE_FieldContainer->load()
next()
This public method is inherited from I2CE_FieldContainer->next()
removeField()
This public method is inherited from I2CE_FieldContainer->removeField()
rewind()
This public method is inherited from I2CE_FieldContainer->rewind()
setAttribute()
This public method is inherited from I2CE_FieldContainer->setAttribute()
setId()
This public method is inherited from I2CE_FieldContainer->setId()
setInvalidMessage()
This public method is inherited from I2CE_FieldContainer->setInvalidMessage()
setMeta()
This public method is inherited from I2CE_FieldContainer->setMeta()
setName()
This public method is inherited from I2CE_FieldContainer->setName()
valid()
This public method is inherited from I2CE_FieldContainer->valid()
validate()
This public method is inherited from I2CE_FieldContainer->validate()
addFields()
This protected method is inherited from I2CE_FieldContainer->addFields()
getAttributes()
This protected method is inherited from I2CE_FieldContainer->getAttributes()
_hasMethod()
This public method is inherited from I2CE_Fuzzy->_hasMethod()
Inherited Variables
$mapped_fields_by_form
Theis protected variable is inherited from I2CE_List->$mapped_fields_by_form
$cache
Theis protected variable is inherited from I2CE_List->$cache
$children
Theis public variable is inherited from I2CE_Form->$children
$parent_forms
Theis protected variable is inherited from I2CE_Form->$parent_forms
$parentField
Theis protected variable is inherited from I2CE_Form->$parentField
$lastModifiedField
Theis protected variable is inherited from I2CE_Form->$lastModifiedField
$createdField
Theis protected variable is inherited from I2CE_Form->$createdField
$name
Theis protected variable is inherited from I2CE_FieldContainer->$name
$display_name
Theis protected variable is inherited from I2CE_FieldContainer->$display_name
$fields
Theis protected variable is inherited from I2CE_FieldContainer->$fields
$attributes
Theis protected variable is inherited from I2CE_FieldContainer->$attributes
$id
Theis protected variable is inherited from I2CE_FieldContainer->$id
$factory
Theis protected variable is inherited from I2CE_FieldContainer->$factory
Inherited Fuzzy Methods
isNumeric()
This method is inherited from I2CE_Form->isNumeric()
getLimitStyles()
This method is inherited from I2CE_Form->getLimitStyles()
checkLimit()
This method is inherited from I2CE_Form->checkLimit()
checkWhereClause()
This method is inherited from I2CE_Form->checkWhereClause()
createCheckFunction()
This method is inherited from I2CE_Form->createCheckFunction()
createCheckLimitString()
This method is inherited from I2CE_Form->createCheckLimitString()
generateLimit()
This method is inherited from I2CE_Form->generateLimit()
generateWhereClause()
This method is inherited from I2CE_Form->generateWhereClause()
isComponentized()
This method is inherited from I2CE_Form->isComponentized()
addChild()
This method is inherited from I2CE_Form->addChild()
getChildIds()
This method is inherited from I2CE_Form->getChildIds()
getStorage()
This method is inherited from I2CE_Form->getStorage()
isWritable()
This method is inherited from I2CE_Form->isWritable()
populate()
This method is inherited from I2CE_Form->populate()
duplicate()
This method is inherited from I2CE_Form->duplicate()
storeHistory()
This method is inherited from I2CE_Form->storeHistory()
populateChild()
This method is inherited from I2CE_Form->populateChild()
populateChildren()
This method is inherited from I2CE_Form->populateChildren()
populateFirst()
This method is inherited from I2CE_Form->populateFirst()
populateHistory()
This method is inherited from I2CE_Form->populateHistory()
populateLast()
This method is inherited from I2CE_Form->populateLast()
delete()
This method is inherited from I2CE_Form->delete()
save()
This method is inherited from I2CE_Form->save()
setChangeType()
This method is inherited from I2CE_Form->setChangeType()
changeID()
This method is inherited from I2CE_Form->changeID()
userMessage()
This method is inherited from I2CE_Fuzzy->userMessage()