Variables | |
$dcmPage = new DcmmsPage(_('Workorder')) | |
$strQuery | |
$intStatus = $arrWorkorderRecord['status'] | |
break | |
$arrRow = pg_fetch_array($result, 0) | |
$params ['totalItems'] = $arrRow[0] | |
$params ['perPage'] = 10 | |
$params ['nextImg'] = _('Next >>') | |
$params ['prevImg'] = _('<< Back') | |
$pager = & Pager::factory($params) | |
$data = $pager->getPageData() | |
$links = $pager->getLinks() | |
$query | |
$arreActions | |
$objDbTablePager | |
$intRowCount = $objDbTablePager->getRowCount() | |
$strActionHtml = '' | |
break | |
case | __pad3__ |
case | $config = parse_ini_file('conf/dataobject.ini', TRUE) |
$options = $config['DB_DataObject'] | |
$_DB_DATAOBJECT_FORMBUILDER ['CONFIG'] | |
$options ['database'] | |
$objWorkorder = DB_DataObject::factory('Workorder') | |
$objWorkorderBuilder = DB_DataObject_FormBuilder::create($objWorkorder) | |
$objWorkorderForm = $objWorkorderBuilder->getForm() | |
$objRenderer = & new HTML_QuickForm_Renderer_Default() | |
break | |
case | map |
|
Initial value: $config['DB_DataObject_FormBuilder'] |
|
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=', "Maintenance"=>"maintenance.php?". "PHPSESSID=".session_id()."&action=viewworkorder&id=", "Resource"=>"resource.php?table=Staff&PHPSESSID=".session_id(). "&action=select_workorder&WorkorderID=" ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: new DbTablePager($dcmPage->postgis->db, $query, array('class' => 'tab_one_panel')) |
|
|
|
|
|
|
|
|
|
Initial value: 'pgsql://'.$_SESSION['UserName'].':'. $_SESSION['Password'].'@'.'localhost/'.$_SESSION['strDataBase'] |
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: 'select Workorder.ID as WorkorderID, workorder.complainant, dcmmstranslation(\''.$_SESSION['language']. '\', WorkorderSubtype.Description) as Type from Workorder left join WorkorderSubtype on Workorder.Subtype = WorkorderSubtype.Subtype left join Maintenance on Workorder.ID = Maintenance.ID where '.$strWhere. ' order by Workorder.ID desc'
|
|
|
|
Initial value: |
|
|
|
|
|
|
|
|
|
|