CLIENTImplements interfaces:
Class CLIENT
Located in /client/CLIENT.phpclass (line 43)
OCSP_OBJ | --DBMS_TABLEOBJ | --CLIENT
int
addProfile
(int $clpId, array $valArr, [boolean $multiArr = False], [boolean $dataCheck = TRUE], [boolean $debug = False])
boolean
addProfileObj
( &$profile, array $valArr, [boolean $dataCheck = TRUE], [boolean $debug = False], CLP_PROFILE $profile)
boolean
clearProfileData
( &$profile, [boolean $useCurrentUser = TRUE], [boolean $debug = False], CLP_PROFILE $profile)
int
createUser
(string $login, string $pwd, [boolean $enabled = TRUE], [array $groups = NULL], [boolean $debug = False], [int $defaultGrp = 0])
boolean
createUserFromPost
( &$frmObj, &$usrId, [boolean $debug = False], DBMS_FORM $frmObj, int $usrId)
array
dbGetDataArray
(array $tables, [array $filter = NULL], [boolean $withObjVars = TRUE], [boolean $debug = False])
DBMS_FORM
&dbGetForm
(int $mode, [string $frmName = ""], [boolean $debug = False], [ $autoNew = False], boolean $autonew)
OCSP_FORM
&getForm
([int $mode = FRM_MODE_READONLY], [mixed $form = ''], [ $frmClass = 'CLI_FORM'], [boolean $debug = False])
array
getProfileData
( &$profile, [boolean $useCurrentUser = TRUE], [boolean $debug = False], CLI_PROFILE $profile)
array
getProfileEntryRow
( &$profile, [int $clpidx = 0], [boolean $useCurrentUser = TRUE], [boolean $debug = False], CLI_PROFILE $profile)
int
getProfileKey
( &$profile, [boolean $useCurrentUser = TRUE], [boolean $debug = False], CLI_PROFILE $profile)
int
replaceProfileData
( &$profile, array $pfDataArr, [boolean $useCurrentUser = TRUE], [boolean $debug = False], CLP_PROFILE $profile)
bool
setFORMPOST
( &$frmObj, $dbval, [bool $debug = False], [bool $asPopulate = TRUE], DBMS_FORM $frmObj, array $dbVal)
boolean
setPriAddr
(ADDRESS $addrObj, [boolean $saveAddr = TRUE], [boolean $debug = False], [boolean $autosave = False])
bool
&xmladdDOMElement
(mixed &$domObj, &$domRoot, [bool $base64 = TRUE], [bool $debug = False], string $domRoot)
static mixed
$clientLst
= array() (line 66)
unit of work client objects
string
$myClassSrcFile
= __FILE__ (line 152)
string
$myTable
= "T_CLI_CLIENT" (line 146)
string
$myUserClass
= "USER" (line 164)
string
$staffClass
= "CLI_STAFF" (line 158)
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
factory a client object from a client database row
factory a client object
returns an unit of work client object
returns if a client with id $aId has already been instanced
sets a client instance in the unit of work
init the object and populate if an id is submitted
adds an object to the frmPostSubOjects
stores profile data to the database calls addProfileObj() for each value array
stores profile data to the database processes only one data row
returns the CLI_ID if a client is found with same addresse and cols filled in
deletes all profile entries for the user
generates a user for the client and returns the user ID or False in case of error
creates a user from post values
deletes the row from the database
returns the admin form
returns the the data array of a join
returns a database form
returns the admin form
inserts a new row to the table
replaces a row in the table
if the object has not been populated (!$this->populateTS) False is returned
deletes all client data
returns a dbrow with the primary address
returns a address of the client
returns an array with all address objects
returns an array with dbvalues for the client and the primary address
replaces dbGetForm and returns a OCSP_FORM
returns the default address
returns the default Address ID if column CLI_DEFAULTADDR is 0 the first ADR_ID in T_ADDRESS of the client is set as primary
returns an array with the profileData of the client retValue is array['ROW_NR'][COL]
returns an profile entry object
returns a DB-RowArray of profile
returns the key value to use in the profile
returns an array of staff objects
returns a staff object
returns an array with staffId's
replaces all profile data
saves a linked row due to $cmd
sets post array with form checks
sets the default Address by object
sets the default Address ID
sets the client state
sets the clients type object
sets the user id and updates the Client user Table
returns if the current user is allowed for mode
returns if the current user can edit the client data
returns if the current user can edit the client data
returns if the current user is an admin for the client first checks common and type rights and then T_CLI_USER.CLU_ISADMIN
adds TableObject Contents to domRoot
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_SRC_FILE
= __FILE__
(line 53)
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:37:48 +0100 by phpDocumentor 1.4.0a2