Print

PHP Variables


$this

The following six variables are proceeded by '$this->' because they are variables that are part of the PHP class that creates the current form.
Variables used only in 'Custom Code Before Open':

$this->recordID          //ID of the record being displayed
$this->formID            //ID of the form being used to display this record for editing


Variables used only in 'Custom Code Before Open' and related to the User that is logged in:

$this->session_id		 //current session id
$this->access_level		 //access level of User
$this->zzsys_user_id	         //id of User
$this->small			 //if running on a PDA


The following three variables are only usable for the fields 'Custom Code After Save' and 'Custom Code After Delete':

$recordID

ID of the Record being displayed

$sysformID

ID of the Form being used to save/delete this record

$_POST

Array of all fields from saved Form e.g.

$_POST['cus_name'].


$formValue

This is an array of the Variables from the selection Form, created prior to running an activity.

$globalValue

This is a list of the variables about the User logged in

$globalValue['session_id']              //current session id
$globalValue['access_level']            //access level of User
$globalValue['zzsys_user_id']           //id of User
$globalValue['zzsys_user_group_name']   //group name the User belongs to
$globalValue['small']                   //if running on a PDA



Created by: system. Last Modification: Thursday 26 of March, 2009 13:32:34 CST by simon.