Class MED_CATEGORY

Description

ABSTRACT class DBMS_TREE to handel table tree data in an object

  • author: Peter Krebs (pk) <pitlinz@users.sourceforge.net>
  • version: pk-03-10-25
  • version: $Id: DBMS_TREE.phpclass,v 1.9 2008/06/17 07:45:34 pitlinz Exp $
  • version: pk-07-06-15 added parent class DBMS_TABLEOBJ to have some common db methods

Located in /media/MED_CATEGORY.phpclass (line 20)

OCSP_OBJ
   |
   --DBMS_TABLEOBJ
      |
      --DBMS_TREE
         |
         --MED_CATEGORY
Variable Summary
Method Summary
 string getHTMLSelectOptionList ([MED_CATEGORY_NODE $rootNode = NULL], [ $selectedId = 0], [boolean $debug = FALSE])
 void populate ([bool $useCache = TRUE], [bool $debug = FALSE], [ $filtered = FALSE])
 boolean projId_IsSet ()
 void setAddDefaulProj_OnOff (boolean $onOff)
 void setChildClassVar ( &$child, &DBMS_TREE_NODE $child)
 void set_projId (int $aProjId)
Variables
boolean $addDefaultProj = FALSE (line 61)
  • var: show project and default project (PROJ_ID=0)
  • since: pk-06-03-05
string $myChildClass = "MED_CATEGORY_NODE" (line 49)

Redefinition of:
DBMS_TREE::$myChildClass
string $myGlobalTreeKey = "T_MED_CATEGORY" (line 24)
  • var: index in $GLOABLS['DBMS_TREE'][]

Redefinition of:
DBMS_TREE::$myGlobalTreeKey
mixed $myIdFld = "MEC_ID" (line 34)
  • staticvar: string $myIdFld: id column = root

Redefinition of:
DBMS_TREE::$myIdFld
mixed $myParentFld = "MEC_PARENT" (line 39)
  • staticvar: string $myParentFld: name of the parent column

Redefinition of:
DBMS_TREE::$myParentFld
mixed $mySortFld = "MEC_NAME" (line 44)
  • staticvar: string $mySortFld: name of the sort field

Redefinition of:
DBMS_TREE::$mySortFld
mixed $myTable = "T_MED_CATEGORY" (line 29)
  • staticvar: string $myTable:

Redefinition of:
DBMS_TABLEOBJ::$myTable
NOT FINAL !!!!!
int $projId = -1 (line 55)
  • var: CMS_PROJECT (-1 == all)
  • since: pk-06-03-03

Inherited Variables

Inherited from DBMS_TREE

DBMS_TREE::$childClassColumn
DBMS_TREE::$myChildKeys
DBMS_TREE::$myChildren
DBMS_TREE::$myChildrenPopulateTS
DBMS_TREE::$myFilterArr
DBMS_TREE::$myLink
DBMS_TREE::$myRootId

Inherited from DBMS_TABLEOBJ

DBMS_TABLEOBJ::$autoIncFld
DBMS_TABLEOBJ::$dbTableDefinitions
DBMS_TABLEOBJ::$frmPostSubOjects
DBMS_TABLEOBJ::$hasObjVals
DBMS_TABLEOBJ::$initTS
DBMS_TABLEOBJ::$myCacheTS
DBMS_TABLEOBJ::$myFields
DBMS_TABLEOBJ::$myKeys
DBMS_TABLEOBJ::$myLinkedTableRows
DBMS_TABLEOBJ::$myMode
DBMS_TABLEOBJ::$myObjVals
DBMS_TABLEOBJ::$myObjValsPopulateTS
DBMS_TABLEOBJ::$objError
DBMS_TABLEOBJ::$objErrorMsg
DBMS_TABLEOBJ::$populateTS
DBMS_TABLEOBJ::$staticClassVars
DBMS_TABLEOBJ::$valChangeTS

Inherited from OCSP_OBJ

OCSP_OBJ::$global_currentUser
OCSP_OBJ::$global_defaultDBObj_read
OCSP_OBJ::$global_defaultDBObj_write
OCSP_OBJ::$myDBObj
Methods
getHTMLSelectOptionList (line 214)

returns a html code to use in select elements

  • since: pk-04-08-12
string getHTMLSelectOptionList ([MED_CATEGORY_NODE $rootNode = NULL], [ $selectedId = 0], [boolean $debug = FALSE])
populate (line 130)

populates the children

  • version: pk-05-07-27
void populate ([bool $useCache = TRUE], [bool $debug = FALSE], [ $filtered = FALSE])
  • bool $useCache
  • bool $debug
  • $filtered

Redefinition of:
DBMS_TREE::populate()
populates the children of the tree (1st level nodes)
projId_IsSet (line 85)

returns if we have set a projId

boolean projId_IsSet ()
setAddDefaulProj_OnOff (line 98)

sets $addDefaultProj

  • since: pk-06-03-05
void setAddDefaulProj_OnOff (boolean $onOff)
  • boolean $onOff: on TRUE off =FALSE
setChildClassVar (line 111)

sets child class vars

  • since: pk-06-03-05
void setChildClassVar ( &$child, &DBMS_TREE_NODE $child)
  • &DBMS_TREE_NODE $child
  • &$child

Redefinition of:
DBMS_TREE::setChildClassVar()
sets child class vars
set_projId (line 75)

sets the projectID

  • since: pk-06-03-03
void set_projId (int $aProjId)
  • int $aProjId

Inherited Methods

Inherited From DBMS_TREE

 DBMS_TREE::DBMS_TREE()
 DBMS_TREE::addNodeObjectToCache()
 DBMS_TREE::filterAdd()
 DBMS_TREE::filterClear()
 DBMS_TREE::filterRemoveKey()
 DBMS_TREE::getChildrenCursor()
 DBMS_TREE::getChildrenList()
 DBMS_TREE::getFilteredChildrenList()
 DBMS_TREE::getGlobalTreeKey()
 DBMS_TREE::getIndexedTreeArr()
 DBMS_TREE::getKey()
 DBMS_TREE::getKeyTree()
 DBMS_TREE::getKeyTreeNode()
 DBMS_TREE::getNode()
 DBMS_TREE::getNodeDBRowFromDB()
 DBMS_TREE::getNodeObjectFromCache()
 DBMS_TREE::getRootId()
 DBMS_TREE::getRootPath()
 DBMS_TREE::getTreeArray()
 DBMS_TREE::newNodeObject()
 DBMS_TREE::populate()
 DBMS_TREE::populateNode()
 DBMS_TREE::populateTree()
 DBMS_TREE::setChildClassVar()
 DBMS_TREE::setGlobalTreeKey()
 DBMS_TREE::setKey()
 DBMS_TREE::setKeyTree()
 DBMS_TREE::setRootId()

Inherited From DBMS_TABLEOBJ

 DBMS_TABLEOBJ::DBMS_TABLEOBJ()
 DBMS_TABLEOBJ::cacheRestore()
 DBMS_TABLEOBJ::cacheWriteTo()
 DBMS_TABLEOBJ::clearErrors()
 DBMS_TABLEOBJ::dbDelete()
 DBMS_TABLEOBJ::dbGetDataArray()
 DBMS_TABLEOBJ::dbGetForm()
 DBMS_TABLEOBJ::dbInsert()
 DBMS_TABLEOBJ::dbPopulate()
 DBMS_TABLEOBJ::dbReplace()
 DBMS_TABLEOBJ::dbSave()
 DBMS_TABLEOBJ::db_SetKey()
 DBMS_TABLEOBJ::db_SetKeyArray()
 DBMS_TABLEOBJ::getClassInclude()
 DBMS_TABLEOBJ::getDbDesc()
 DBMS_TABLEOBJ::getDBField()
 DBMS_TABLEOBJ::getDBRow()
 DBMS_TABLEOBJ::getDBVal()
 DBMS_TABLEOBJ::getDefaults()
 DBMS_TABLEOBJ::getErrorMsg()
 DBMS_TABLEOBJ::getFieldDBDefault()
 DBMS_TABLEOBJ::getForm()
 DBMS_TABLEOBJ::getFormClassName()
 DBMS_TABLEOBJ::getFormName()
 DBMS_TABLEOBJ::getJSON()
 DBMS_TABLEOBJ::getKeyArr()
 DBMS_TABLEOBJ::getMyTable()
 DBMS_TABLEOBJ::getObjValArray()
 DBMS_TABLEOBJ::getObjValValue()
 DBMS_TABLEOBJ::getPopulateTs()
 DBMS_TABLEOBJ::getWhere()
 DBMS_TABLEOBJ::hasChanged()
 DBMS_TABLEOBJ::hasColumn()
 DBMS_TABLEOBJ::hasErrors()
 DBMS_TABLEOBJ::hasObjVals()
 DBMS_TABLEOBJ::init()
 DBMS_TABLEOBJ::isInit()
 DBMS_TABLEOBJ::isPopulated()
 DBMS_TABLEOBJ::keysAreSet()
 DBMS_TABLEOBJ::populateFromKeys()
 DBMS_TABLEOBJ::populateFromValues()
 DBMS_TABLEOBJ::populateObjVals()
 DBMS_TABLEOBJ::p_cacheIsExpired()
 DBMS_TABLEOBJ::saveLinkedRow()
 DBMS_TABLEOBJ::saveLinkedTableRows()
 DBMS_TABLEOBJ::saveObjVals()
 DBMS_TABLEOBJ::setChanged()
 DBMS_TABLEOBJ::setDBField()
 DBMS_TABLEOBJ::setDBFieldIfDiff()
 DBMS_TABLEOBJ::setDBFieldIfEmpty()
 DBMS_TABLEOBJ::setDBRow()
 DBMS_TABLEOBJ::setDBVal()
 DBMS_TABLEOBJ::setDefaults()
 DBMS_TABLEOBJ::setError()
 DBMS_TABLEOBJ::setLinkedTableRow()
 DBMS_TABLEOBJ::setMyTable()
 DBMS_TABLEOBJ::setObjValArray()
 DBMS_TABLEOBJ::setObjValValue()
 DBMS_TABLEOBJ::setObjVarIfEmpty()
 DBMS_TABLEOBJ::setUnChanged()
 DBMS_TABLEOBJ::userIsAllowed()
 DBMS_TABLEOBJ::writeDebugInfo()
 DBMS_TABLEOBJ::xmladdDOMElement()
 DBMS_TABLEOBJ::xmlExport()
 DBMS_TABLEOBJ::_getCacheFileName()
 DBMS_TABLEOBJ::_getDBFields()

Inherited From OCSP_OBJ

 OCSP_OBJ::castObj()
 OCSP_OBJ::cloneMe()
 OCSP_OBJ::currentUser()
 OCSP_OBJ::dbConnect()
 OCSP_OBJ::defaultDBObj()
 OCSP_OBJ::defaultReadDBObj()
 OCSP_OBJ::defaultWriteDBObj()
 OCSP_OBJ::getConf()
 OCSP_OBJ::getDBObj()
 OCSP_OBJ::get_myClassConstant()
 OCSP_OBJ::get_myObject_vars()
 OCSP_OBJ::get_mySourceFile()
 OCSP_OBJ::isConnected()
 OCSP_OBJ::isMultiByteStr()
 OCSP_OBJ::isUTF8()
 OCSP_OBJ::setConf()
 OCSP_OBJ::setDBObj()
 OCSP_OBJ::set_myObject_vars()
 OCSP_OBJ::set_myVarsFrom()
Class Constants

Inherited Constants

Inherited from DBMS_TABLEOBJ

DBMS_TABLEOBJ::CLASS_SRC_FILE

Inherited from OCSP_OBJ

OCSP_OBJ::CLASS_SRC_FILE

Documentation generated on Thu, 08 Jan 2009 17:44:38 +0100 by phpDocumentor 1.4.0a2