CDM
[ class tree: CDM ] [ index: CDM ] [ all elements ]

Procedural File: defines.php

Source Location: /modules/xbs_cdm/include/defines.php



Page Details:

Constant definitions that are programming specific rather than module or language specific



Tags:

copyright:  (c) 2004 Ashley Kitson, Great Britain
author:  Ashley Kitson http://xoobs.net







CDM_DEF_LANG [line 169]

CDM_DEF_LANG = str_pad(substr($_def_lang,0,6),6)
default language for a code

Constants for cdm objects Set character length of language constant. This is required because a number of functions need to match against this exactly, and the value retrieved from the database is always padded out to the exact character length (by default char(6))



[ Top ]



CDM_DEF_SET [line 174]

CDM_DEF_SET = $_def_codeset
default codeset for a code

Constants for cdm objects



[ Top ]



CDM_DIR [line 50]

CDM_DIR = 'xbs_cdm'
The CDM module directory name

cannot use dirname as it doesn't nest (i.e not correct if CDM being used from within another module)

  1. define('CDM_DIR', $xoopsModule->dirname());



[ Top ]



CDM_OBJTYPE_BIG [line 130]

CDM_OBJTYPE_BIG = 'BIGINT'
Bigint

Constants for cdm objects



[ Top ]



CDM_OBJTYPE_CHR [line 134]

CDM_OBJTYPE_CHR = 'CHAR'
Char

Constants for cdm objects



[ Top ]



CDM_OBJTYPE_INT [line 126]

CDM_OBJTYPE_INT = 'INTEGER'
Integer

Constants for cdm objects



[ Top ]



CDM_OBJTYPE_VAR [line 138]

CDM_OBJTYPE_VAR = 'VARCHAR'
Varchar

Constants for cdm objects



[ Top ]



CDM_PATH [line 98]

CDM_PATH = XOOPS_ROOT_PATH."/modules/".CDM_DIR
Full file path to CDM directory

Constants for cdm objects



[ Top ]



CDM_RSTAT_ACT [line 110]

CDM_RSTAT_ACT = 'Active'
object is active and useable

Constants for cdm objects



[ Top ]



CDM_RSTAT_DEF [line 114]

CDM_RSTAT_DEF = 'Defunct'
object is permanently suspended and not useable

Constants for cdm objects



[ Top ]



CDM_RSTAT_SUS [line 118]

CDM_RSTAT_SUS = 'Suspended'
object is temporarily suspended from use

Constants for cdm objects



[ Top ]



CDM_TBL_CODE [line 147]

CDM_TBL_CODE = "cdm_code"
code table

Constants for cdm objects



[ Top ]



CDM_TBL_LIST [line 155]

CDM_TBL_LIST = "cdm_list"
selector list cache table

Constants for cdm objects



[ Top ]



CDM_TBL_META [line 151]

CDM_TBL_META = "cdm_meta"
meta table

Constants for cdm objects



[ Top ]



CDM_URL [line 102]

CDM_URL = XOOPS_URL."/modules/".CDM_DIR
URL to CDM

Constants for cdm objects



[ Top ]




getCDMModConfigs [line 63]

array getCDMModConfigs( )

Function: Get the current module's configuration options

Because CDM can be nested inside other modules the $xoopsModuleConfig variable will be pointing to whatever module is currently in scope We therefore need to retrieve the CDM options




Tags:

return:  Module config options
version:  1


[ Top ]



Documentation generated on Fri, 03 Mar 2006 08:55:57 +0000 by phpDocumentor 1.3.0RC3