Class: iHRIS Contact (4.0.12)

From IHRIS Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


This article describes the class iHRIS_Contact .

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

Form Fields

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

address

The form field address is implemented by STRING_MLINE

telephone

The form field telephone is implemented by STRING_LINE

alt_telephone

The form field alt_telephone is implemented by STRING_LINE

fax

The form field fax is implemented by STRING_LINE

email

The form field email is implemented by STRING_LINE

notes

The form field notes is implemented by STRING_MLINE

Inherited Form Fields

i2ce_hidden

The form field i2ce_hidden is implemented by YESNO is inherited from the class I2CE_List

Constants

iHRIS_Contact::TYPE_PERSONAL

Constant values for contact types: Personal. Defined as: 1

iHRIS_Contact::TYPE_WORK

Constant values for contact types: Work. Defined as: 2

iHRIS_Contact::TYPE_EMERGENCY

Constant values for contact types: Emergency. Defined as: 3

iHRIS_Contact::TYPE_OTHER

Constant values for contact types: Other. Defined as: 4

iHRIS_Contact::TYPE_FACILITY

Constant values for contact types: Facility. Defined as: 5

Variables

$types

The list of contact types.

Methods

listTypeOptions()

List all the options from the status array. The facility type isn't displayed since that's only used for facility contact info and is automatically set on those.

lookupType()

Lookup the given value from the status array.

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

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

listOptions()

This public method is inherited from I2CE_List->listOptions()

lookup()

This public method is inherited from I2CE_List->lookup()

monsterMash()

This public method is inherited from I2CE_List->monsterMash()

name()

This public method is inherited from I2CE_List->name()

setDisplayData()

This public method is inherited from I2CE_List->setDisplayData()

walkupFieldPath()

This public method is inherited from I2CE_List->walkupFieldPath()

_findLowerMatches()

This protected method is inherited from I2CE_List->_findLowerMatches()

_flattenDataTree()

This protected method is inherited from I2CE_List->_flattenDataTree()

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

_monsterMash()

This protected method is inherited from I2CE_List->_monsterMash()

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

removeNotShownNodes()

This protected method is inherited from I2CE_List->removeNotShownNodes()

showHiddenLimit()

This protected method is inherited from I2CE_List->showHiddenLimit()

__construct()

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

addChildForm()

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

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

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

setParent()

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

lookupArray()

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

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

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

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

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

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

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