Variables | |
$strID = NULL | |
$dcmPage = new WorkorderPage(_('Workorder Details')) | |
$options = &PEAR::getStaticProperty('DB_DataObject', 'options') | |
$config = parse_ini_file('conf/dataobject.ini', TRUE) | |
$options = $config['DB_DataObject'] | |
$_DB_DATAOBJECT_FORMBUILDER ['CONFIG'] | |
$options ['database'] | |
$objWorkorder = DB_DataObject::factory('Workorder') | |
$objOriginalWorkorder = $objWorkorder | |
$objWorkorderBuilder = DB_DataObject_FormBuilder::create($objWorkorder) | |
$objWorkorderForm = $objWorkorderBuilder->getForm() | |
$objHistory | recordoid = $objWorkorder->id |
$numHistoryRecordCount = $objHistory->count() | |
$arreActions | |
$arrCompletedActions | |
$objHistory = DB_DataObject::factory('History') | |
$objHistory | tablename = 'workorder' |
$objHistory | recordoid = $objWorkorder->id |
$objHistoryTable = $objHistory->getTable(&$objWorkorderForm) |
|
Initial value: $config['DB_DataObject_FormBuilder']
|
|
Initial value: array("Maintenance"=>"maintenance.php?". "PHPSESSID=".session_id()."&action=viewworkorder&id=", "Resource"=>"resource.php?table=Staff&PHPSESSID=".session_id(). "&action=select_workorder&WorkorderID=" ) |
|
Initial value: array('Map' => basename(__FILE__).'?PHPSESSID='. session_id().'&action=map&WorkorderID=', 'View' => 'workorderpage.php?'. 'PHPSESSID='.session_id().'&action=view&id=', 'Print' => 'print_workorder.php?PHPSESSID='.session_id(). '&action=print&WorkorderID=' )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: 'pgsql://'.$_SESSION['UserName'].':'. $_SESSION['Password'].'@'.'localhost/'.$_SESSION['strDataBase'] |
|
|
|
|
|
Check for the ID |
|
|
|
|
|
|