DBMS_field_ChangeClass (line
607)
changes the class of a form field
Constants
-
DBMS_FIELD
$fld
-
string
$newClassName
-
boolean
$debug
DBMS_field_IncludeAllSrc (line
656)
includes all field object class sources
Constants
void
DBMS_field_IncludeAllSrc
([boolean $debug = FALSE])
DBMS_field_IncludeSrc (line
532)
includes the form field class src file
Constants
boolean
DBMS_field_IncludeSrc
([string $className = "DBMS_FIELD"], [boolean $debug = FALSE])
-
string
$className
-
boolean
$debug
DBMS_form_cacheFrm (line
139)
writes a form object to file cache
Constants
bool
DBMS_form_cacheFrm
(
DBMS_FORM $frmObj, [
bool $debug =
FALSE])
-
DBMS_FORM
$frmObj
-
bool
$debug: since pk-05-01-13
DBMS_form_cache_ClearId (line
240)
clears the cache for a form
Constants
void
DBMS_form_cache_ClearId
( $aId)
DBMS_form_cache_GetId (line
179)
gets a form from the file cache with id
Constants if file cache does not exists or is expired NULL is returned
DBMS_FORM
DBMS_form_cache_GetId
(
int $aId, [
bool $debug =
FALSE])
-
int
$aId: the form ID
-
bool
$debug
DBMS_form_cache_GetName (line
214)
gets a form from the file cache with unique name
Constants if file cache does not exists or is expired NULL is returned
DBMS_FORM
DBMS_form_cache_GetName
(
string $aName, [
bool $debug =
FALSE])
-
string
$aName: the unique name of the form
-
bool
$debug: since pk-05-01-20
DBMS_form_loadClassId (line
363)
loads a form of a special type (subclass ob DBMS_FORM)
Constants the subcluss must have the method castFromFrmObj() if not an object of DBMS_FORM is returned
you also have to include the class source before calling this method
DBMS_FORM
&DBMS_form_loadClassId
(
string $className,
int $aId, [
boolean $debug =
FALSE], [
boolean $reloadGlobals =
FALSE])
-
string
$className: name of the form class
-
int
$aId
-
boolean
$debug
-
boolean
$reloadGlobals: if TRUE the form in $GLOBALS['DBMS_NAMED_FORMS'] is reloaded from cache or DB
DBMS_form_loadClassName (line
474)
loads a form of a special type (subclass ob DBMS_FORM)
Constants the subcluss must have the method castFromFrmObj() if not an object of DBMS_FORM is returned
you also have to include the class source before calling this method
DBMS_FORM
&DBMS_form_loadClassName
(
string $className,
string $frmName, [
boolean $debug =
FALSE], [
boolean $reloadGlobals =
FALSE])
-
string
$className: name of the form class
-
string
$frmName: nome of the form
-
boolean
$debug
-
boolean
$reloadGlobals: if TRUE the form in $GLOBALS['DBMS_NAMED_FORMS'] is reloaded from cache or DB
DBMS_form_loadId (line
314)
returns a POINTER to the form with id $aId
Constants loads a from from cache (or db) into GLOABALS['DBMS_FORMS'][$aId] array if the array element is not an object. Uses $OCSP_OBJ['USRDB'] as DB Object returns a pointer to the global array element
DBMS_FORM
&DBMS_form_loadId
(
int $aId, [
boolean $debug =
FALSE], [
boolean $forceDB =
FALSE])
-
int
$aId
-
boolean
$debug
-
boolean
$forceDB: force a reload from the database since pk-06-07-28
DBMS_form_loadName (line
405)
returns a POINTER to the form with unique name $name
Constants loads a from from cache (or db) into GLOABALS['DBMS_FORMS'][$aId] array if the array element is not an object. Uses $OCSP_OBJ['USRDB'] as DB Object returns a pointer to the global array element
DBMS_FORM
&DBMS_form_loadName
(
string $aName, [
boolean $debug =
FALSE], [
boolean $reloadGlobals =
FALSE])
-
string
$aName
-
boolean
$debug
-
boolean
$reloadGlobals: if TRUE the form in $GLOBALS['DBMS_NAMED_FORMS'] is reloaded from cache or DB
DBMS_form_new (line
259)
generates a new form
Constants
int
DBMS_form_new
(string $aName, [string $tbls = ""], [int $asDefault = 0])
-
string
$aName
-
string
$tbls
-
int
$asDefault
DBMS_form_register (line
280)
register a form to the global array
Constants
bool
DBMS_form_register
(
&$aForm, [
bool $debug =
FALSE],
DBMS_FORM $aForm)
DBMS_form_unset (line
506)
destroies a FORM Object
Constants
void
DBMS_form_unset
(int $aId, [ $debug = FALSE])