-
$classSrcFile
-
source file of the class
-
$classSrcFile
-
source file of the class
-
$clientLst
-
unit of work client objects
-
$clientTypeLst
-
unit of work address objects
-
$CLP_ID
-
-
$colPrefix
-
-
$column
-
-
checkEntryRowArr
-
checks a array by including $GLOBALS['PROJECT']['PATH'].$this->CLP_ENTRYCHKIN
-
checkProfileForeignKey
-
-
checkProfileIdInEntryQuery
-
returns if for not multiple profiles the CLP_ID should be checked in the table or not.
-
checkTypeClass
-
checks if this is type of class CSTTYPE_CLASS and returns the object ($this if ok else a new object of the right type)
-
chkDuplicate
-
returns the CLI_ID if a client is found with same addresse and cols filled in
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
CLASS_SRC_FILE
-
-
clearErrors
-
resets profile errors
-
clearProfileData
-
deletes all profile entries for the user
-
CLIENT
-
init the object and populate if an id is submitted
-
CLIENT
-
Class CLIENT
-
CLIENT.phpclass
-
-
CLIENT_DEP_TREE.phpclass
-
-
CLIENT_DEP_TREE_NODE.phpclass
-
-
CLI_FORM.phpclass
-
-
CLI_PROFILE.phpclass
-
-
CLI_PROFILE_ENTRY.phpclass
-
-
CLI_PROFILE_FORM.phpclass
-
-
CLI_PROFILE_LISTFORM_PAGE.phpclass
-
-
CLI_STAFF.phpclass
-
-
CLI_STAFF_FORM.phpclass
-
-
CLI_STAFF_TYPE.phpclass
-
-
CLI_STATE.phpclass
-
-
CLI_TYPE.phpclass
-
-
CLIENT_DEP_TREE
-
constructor
-
CLIENT_DEP_TREE
-
ABSTRACT class DBMS_TREE to handel table tree data in an object
-
CLIENT_DEP_TREE_NODE
-
Base class DBMS_TABLEOBJ to handel table data in an object
-
CLI_FORM
-
Class file CLI_FORM
-
CLI_PROFILE
-
creates and initialize the object
-
CLI_PROFILE
-
class to handel CLI_PROFILES
-
CLI_PROFILE_ENTRY
-
Class file CLI_PROFILE_ENTRY.phpclass
-
CLI_PROFILE_ENTRY
-
init the object and populate if an id is submitted
-
CLI_PROFILE_FORM
-
Class CLI_PROFILE_FORM handels forms for client profiles overwrites DBMS_FORM database functions to store the form in a row of T_CLI_PROFILES instead of T_DBMS_FORM
-
CLI_STAFF
-
Class file CLI_STAFF.phpclass
-
CLI_STAFF
-
init the object and populate if an id is submitted
-
CLI_STAFF_FORM
-
Class file CLI_STAFF_FORM
-
CLI_STAFF_TYPE
-
Class file CLI_STAFF_TYPE.phpclass
-
CLI_STAFF_TYPE
-
init the object and populate if an id is submitted
-
CLI_STATE
-
init the object and populate if an id is submitted
-
CLI_STATE
-
Class file CLI_STATE.phpclass
-
CLI_TYPE
-
init the object and populate if an id is submitted
-
CLI_TYPE
-
Class file CLI_TYPE.phpclass
-
CMS_PAGE_FORM.phpclass
-
-
CMS_PAGE_FORM
-
Class file CMS_PAGE_FORM
-
createEntryTbl
-
creates a table for CLI_PROFILES entries
-
createUser
-
generates a user for the client and returns the user ID or False in case of error
-
createUser
-
generates a user for the client and returns the user ID or False in case of error
-
createUserFromPost
-
creates a user from post values
-
createUserFromPost
-
creates a user from post values
-
curUserCanSave
-
returns if the current user can save the form in the current mode
-
client.conf.phpinc
-
-
$getFullName
-
wether getname should only return CDEP_NAME or CDEP_LONGNAME (CDEP_NAME)
-
$getFullName
-
wether getname should only return CDEP_NAME or CDEP_LONGNAME (CDEP_NAME)
-
getAddress
-
returns the address object for the staff
-
getAddressDBRow
-
returns a dbrow with the primary address
-
getAddressForm
-
-
getAddressFormId
-
returns the address form id
-
getAddressObj
-
returns a address of the client
-
getAddrList
-
returns an array with all address objects
-
getAdminForm
-
returns the form used in admin section
-
getAdminForm
-
returns the admin form
-
getAdminForm
-
returns the admin form
-
getAvailAbleProfiles
-
returns an Array with profiles available for the staff type
-
getClassName
-
-
getCliAddrDBVal
-
returns an array with dbvalues for the client and the primary address
-
getCliClassName
-
returns the class name of the client object defined by the type and ensures the class exists
-
getClient
-
returns the client object
-
getClient
-
returns the client object if $this->myClient is not an object a new one is created
-
getClientTableName
-
in future it is planed to be able to split the clients into more than one table
-
getClientType
-
returns the type id of the client
-
getClientTypeObj
-
-
getCliId
-
returns the Client ID
-
getCliId
-
returns the Client ID
-
getCliId
-
returns the client id CLI_ID
-
getCliObjectFromArray
-
generates a new client object with this type
-
getCliUserForm
-
returns the form used to handele values in T_CLI_USER AND T_SYS_USER if no form id is set the default form for T_SYS_USER is returned
-
getCliUserForm
-
returns the form used to handele values in T_CLI_USER AND T_SYS_USER if no form id is set the default form for T_SYS_USER is returned
-
getCstClassName
-
returns the class name of the client object defined by the type and ensures the class exists
-
getCstObjectFromArray
-
generates a new client object with this type
-
getCtyId
-
-
getDefaultAddress
-
-
getDefaults
-
returns an array of default values
-
getDefaultStaffType
-
returns the first staff type in T_CLI_STAFF_TYPE fits for this type by using the query:
SELECT * FROM T_CLI_STAFF_TYPE WHERE CTY_ID IN($this->getId(),0) ORDER BY CTY_ID DESC,CSTTYPE_SORTORDER
;
-
getEmptyErrMsg
-
returns the profile empty error msg
-
getEntryForm
-
returns a ponter to a formObj to use with the entry
-
getEntryObj
-
-
getEntryRow
-
returns a (the first) entry row where keytable is $key and CLP_IDX is $idx if $key or $idx are 0 the are not included in the where useses $this->myDBObj->quickQuery()
-
getEntryRowArray
-
returns an array of all entry rows where keytable key fit
-
getEntryTbl
-
returns the entry table name
-
getEntryTblColumns
-
returns an array with the columns of the entry table in case of an error an empty array is returned
-
getEntryTblDesc
-
returns the table desc of entry table
-
getEntryTblFormIdName
-
-
getErrorMsg
-
returns the profile error msg
-
getETblJoinSelStmt
-
returns the select statement for a join of Entrytable and Keytable
-
getField
-
returns a field object
-
getForeignKey
-
returns the foreign key to the foreign table
-
getForm
-
returns the form
-
getForm
-
tries to get the form from the client type
-
getForm
-
replaces dbGetForm and returns a OCSP_FORM
-
getFormCmdFields
-
add some values to the forms (hidden) command fields
-
getGrpId
-
returns the grp id
-
getId
-
returns the id
-
getId
-
returns the id
-
getId
-
-
getId
-
returns the id
-
getId
-
returns the id
-
getId
-
returns the id
-
getId
-
returns the client Id
-
getId
-
returns the id
-
getInstance
-
returns a type out of self::$loadedCliStaffTypes
-
getInstance
-
returns an instance out of the identity map
-
getInstance
-
returns an instance out of the identity map
-
getInstance
-
returns a type out of self::$loadedTypes
-
getInstance
-
returns the unit of work instance
-
getInstance
-
returns an unit of work client object
-
getInstance
-
returns an instance of the unit of work
-
getInstanceList
-
returns an array with all instances
-
getInterestNodes
-
returns the interests for available
-
getKeyArr
-
returns the key array an array of all key fields
-
getKeyColName
-
returns the key column name
-
getKeyTable
-
-
getListForm
-
returns the list form
-
getMyTblObj
-
-
getName
-
returns the name of the staff
-
getName
-
returns the client name (CLI_NAME1 + CLI_NAME2)
-
getName
-
returns the name of the staff
-
getName
-
returns the name of a node
-
getName
-
returns the name of the staff
-
getName
-
returns the name of the staff
-
getNumber
-
returns the client number or the ID if no number isset
-
getNumberOfEntries
-
returns the number of entries for a key with state
-
getPriAddr
-
returns the default address
-
getPriAddrId
-
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
-
getProfileById
-
-
getProfileData
-
returns an array with the profileData of the client retValue is array['ROW_NR'][COL]
-
getProfileEntry
-
returns an profile entry object
-
getProfileEntryRow
-
returns a DB-RowArray of profile
-
getProfileId
-
returns the id of the profile
-
getProfileId
-
returns the profile ID
-
getProfileKey
-
returns the key value to use in the profile
-
getProfileObj
-
-
getProfileObj
-
returns the profle object if a new object is created this->myTable is set and $this->init is called
-
getProfileObj
-
returns the profile object
-
getSaffList
-
returns an array of staff objects
-
getSortOrder
-
-
getStaff
-
returns a staff object
-
getStaffIdArr
-
returns an array with staffId's
-
getStaffLstForm
-
returns the form used in admin section
-
getStaffType
-
returns a staff type if $typeId is 0 $this->getDefaultStaffType is returned
-
getStateId
-
returns the state id
-
getStateObj
-
retruns the state object
-
getTitle
-
returns the Title
-
getTypeClass
-
returns the class specified by the staff type
-
getTypeId
-
-
getTypeName
-
returns the name of the type (not the class !!!)
-
getTypeObj
-
checks if $this->myTypeObj is set proper and return it
-
getTypeObj
-
gets the clients type object
-
getUserForm
-
returns the form used in admin section
-
getUserId
-
-
get_TypeId
-
returns the client type id
-
$staffClass
-
-
saveLinkedRow
-
saves a linked row due to $cmd
-
setChildClassVar
-
sets child class vars
-
setClient
-
sets the client object
-
setClient
-
sets the client object
-
setClientObj
-
sets the client object
-
setClientTypeObj
-
-
setClientValuesToStaff
-
sets the client values to according staff values each CLI_xxx is set to CST_xxx and ADR_ID is set to CLI_DEFAULTADDR
-
setCliId
-
sets the client ID
-
setCliId
-
sets the client id
-
setCliId
-
sets the client ID
-
setCtyId
-
-
setDBField
-
sets column value
-
setForeignKey
-
sets the foreign key to the foreign table
-
setFORMPOST
-
sets post array with form checks
-
setFORMPOST
-
sets post array with form checks
-
setFORMPOST
-
sets post array with form checks
-
setFormTblObj
-
sets the forms DBMS_TABLEOBJ
-
setGetFullName
-
sets $this->getFullName
-
setId
-
sets the id
-
setId
-
sets the id
-
setId
-
sets the id
-
setId
-
sets the id
-
setId
-
sets the id
-
setId
-
-
setInstance
-
adds a staff to the identity map
-
setInstance
-
sets an instance
-
setInstance
-
sets a client instance in the unit of work
-
setMyTblObj
-
-
setPriAddr
-
sets the default Address by object
-
setPriAddrId
-
sets the default Address ID
-
setPrimary
-
sets this to the clients primary address
-
setProfileId
-
-
setProfileObj
-
sets the profile object
-
setProfileObj
-
sets the profile object
-
setState
-
sets the client state
-
setTblObjFromSubmitData
-
sets the tableobject class and include from $dataArr and tries to instantiate by calling $this->getMyTblObj
-
setTblObjFromSubmitData
-
sets the tableobject class and include from $dataArr and tries to instantiate by calling $this->getMyTblObj
-
setTypeId
-
-
setTypeObj
-
sets the clients type object
-
setTypeObj
-
sets the type object
-
setUSR_ID
-
sets the user id and updates the Client user Table
-
setUSR_ID
-
sets the user id and updates the Client user Table
-
set_TypeId
-
sets the client type id
-
sort_MoveDown
-
moves the profile down (increase sortorder) note: autosaves sortorder
-
sort_MoveToPos
-
moves the profile to a position note: autosaves sortorder
-
sort_MoveUp
-
moves the profile up (decrease sortorder) note autosaves sortorder
-
updateEntryRow
-
updates an Row array into the entry table
-
updatePOSTEntry
-
updates a posted form array into the content table
-
useInRegister
-
-
userCan
-
returns if the current user is allowed for mode
-
userCanDelete
-
returns if the current user can edit the client data
-
userCanDelete
-
returns if the current user can edit the client data
-
userCanDeleteClients
-
returns if the current user can delete clients of this type
-
userCanDeleteStaff
-
returns if the current user can delete clients of this type
-
userCanEdit
-
returns if the current user can edit the client data
-
userCanEdit
-
returns if the current user can edit the client data
-
userCanEdit
-
-
userCanEditClients
-
returns if the current user can edit clients of this type
-
userCanEditStaff
-
returns if the current user can edit staffs of this type
-
userCanInsert
-
-
userCanSelfEdit
-
return if a user can edit his own client data
-
userCanSelfEdit
-
return if a user can edit his own client data
-
userCanShow
-
returns if the current user can show the client data
-
userCanShow
-
-
userCanShow
-
returns if the current user is allowed to show the profile
-
userCanShowClients
-
returns if the current user can show clients of this type
-
userCanShowStaff
-
returns if the current user can show staffs of this type
-
userIsAdmin
-
returns if the current user can delete clients of this type
-
userIsAdmin
-
returns if the current user is an admin for the client first checks common and type rights and then T_CLI_USER.CLU_ISADMIN