Class: iHRIS Training (Development): Difference between revisions

From IHRIS Wiki
(Created page with '{{otherversions|Class: iHRIS_Training}} This article describes the class ''iHRIS_Training'' . *Extends the class: I2CE_Form. *Location: Part …')
 
No edit summary
Line 51: Line 51:
===__construct()===
===__construct()===
This public method is inherited from [[Class: I2CE_Form (Development)#__construct() | I2CE_Form->__construct()]]
This public method is inherited from [[Class: I2CE_Form (Development)#__construct() | I2CE_Form->__construct()]]
===__get()===
This public method is inherited from [[Class: I2CE_Form (Development)#__get() | I2CE_Form->__get()]]
===__isset()===
This public method is inherited from [[Class: I2CE_Form (Development)#__isset() | I2CE_Form->__isset()]]
===__set()===
This public method is inherited from [[Class: I2CE_Form (Development)#__set() | I2CE_Form->__set()]]
===__unset()===
This public method is inherited from [[Class: I2CE_Form (Development)#__unset() | I2CE_Form->__unset()]]


===addChildForm()===
===addChildForm()===
Line 177: Line 189:
===valid()===
===valid()===
This public method is inherited from [[Class: I2CE_Form (Development)#valid() | I2CE_Form->valid()]]
This public method is inherited from [[Class: I2CE_Form (Development)#valid() | I2CE_Form->valid()]]
===__get()===
This protected method is inherited from [[Class: I2CE_Form (Development)#__get() | I2CE_Form->__get()]]
===__isset()===
This protected method is inherited from [[Class: I2CE_Form (Development)#__isset() | I2CE_Form->__isset()]]
===__set()===
This protected method is inherited from [[Class: I2CE_Form (Development)#__set() | I2CE_Form->__set()]]
===__unset()===
This protected method is inherited from [[Class: I2CE_Form (Development)#__unset() | I2CE_Form->__unset()]]


===addFormFields()===
===addFormFields()===

Revision as of 07:58, 27 May 2010


This article describes the class iHRIS_Training .

@copyright Copyright © 2007, 2008 IntraHealth International, Inc. Object for dealing with trainings for people.

Form Fields

This class is a form class and provides the following form fields

index_num

The form field index_num is implemented by INT_GENERATE

cadre

The form field cadre is implemented by MAP

intake_date

The form field intake_date is implemented by DATE_YMD

graduation

The form field graduation is implemented by DATE_YMD

trained_outside

The form field trained_outside is implemented by BOOL

training_program

The form field training_program is implemented by MAP

training_institution

The form field training_institution is implemented by MAP

in_cadre

The form field in_cadre is implemented by MAP

out_country

The form field out_country is implemented by MAP

out_institution

The form field out_institution is implemented by STRING_LINE

out_cadre

The form field out_cadre is implemented by MAP

Methods

populate()

Populate the member variables of the object from the database.

save()

Save the training object. Sets all the required fields for the training object based on the form data. Since a training may be inside or outside the country certain fields may be required depending on which case it is.

validate()

Validate all fields for the training.

Inherited Methods

__construct()

This public method is inherited from I2CE_Form->__construct()

__get()

This public method is inherited from I2CE_Form->__get()

__isset()

This public method is inherited from I2CE_Form->__isset()

__set()

This public method is inherited from I2CE_Form->__set()

__unset()

This public method is inherited from I2CE_Form->__unset()

addChildForm()

This public method is inherited from I2CE_Form->addChildForm()

addField()

This public method is inherited from I2CE_Form->addField()

cleanup()

This public method is inherited from I2CE_Form->cleanup()

clearFields()

This public method is inherited from I2CE_Form->clearFields()

current()

This public method is inherited from I2CE_Form->current()

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()

getAttribute()

This public method is inherited from I2CE_Form->getAttribute()

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()

getFieldNames()

This public method is inherited from I2CE_Form->getFieldNames()

getFormId()

This public method is inherited from I2CE_Form->getFormId()

getHTMLName()

This public method is inherited from I2CE_Form->getHTMLName()

getId()

This public method is inherited from I2CE_Form->getId()

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()

getQueryDisplay()

This public method is inherited from I2CE_Form->getQueryDisplay()

getQueryFields()

This public method is inherited from I2CE_Form->getQueryFields()

getQueryString()

This public method is inherited from I2CE_Form->getQueryString()

hasAttribute()

This public method is inherited from I2CE_Form->hasAttribute()

hasInvalid()

This public method is inherited from I2CE_Form->hasInvalid()

key()

This public method is inherited from I2CE_Form->key()

listFields()

This public method is inherited from I2CE_Form->listFields()

load()

This public method is inherited from I2CE_Form->load()

next()

This public method is inherited from I2CE_Form->next()

processDOM()

This public method is inherited from I2CE_Form->processDOM()

removeField()

This public method is inherited from I2CE_Form->removeField()

reset()

This public method is inherited from I2CE_Form->reset()

rewind()

This public method is inherited from I2CE_Form->rewind()

search()

This public method is inherited from I2CE_Form->search()

setAttribute()

This public method is inherited from I2CE_Form->setAttribute()

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()

setId()

This public method is inherited from I2CE_Form->setId()

setParent()

This public method is inherited from I2CE_Form->setParent()

valid()

This public method is inherited from I2CE_Form->valid()

addFormFields()

This protected method is inherited from I2CE_Form->addFormFields()

getFormFieldsData()

This protected method is inherited from I2CE_Form->getFormFieldsData()

lookupArray()

This protected method is inherited from I2CE_Form->lookupArray()

_hasMethod()

This public method is inherited from I2CE_Fuzzy->_hasMethod()

Inherited Variables

$children

Theis public variable is inherited from I2CE_Form->$children

$fields

Theis protected variable is inherited from I2CE_Form->$fields

$parent

Theis protected variable is inherited from I2CE_Form->$parent

$id

Theis protected variable is inherited from I2CE_Form->$id

$attributes

Theis protected variable is inherited from I2CE_Form->$attributes

$parent_forms

Theis protected variable is inherited from I2CE_Form->$parent_forms

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()

processLimit()

This method is inherited from I2CE_Form->processLimit()

getDisplayedExistingLimit()

This method is inherited from I2CE_Form->getDisplayedExistingLimit()

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()

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()

setChangeType()

This method is inherited from I2CE_Form->setChangeType()

userMessage()

This method is inherited from I2CE_Fuzzy->userMessage()