DataObject_Workorder Class Reference

Inheritance diagram for DataObject_Workorder:

Inheritance graph
[legend]
Collaboration diagram for DataObject_Workorder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __clone ()
 staticGet ($k, $v=NULL)
 preGenerateForm (&$fb)
 table ()
 postGenerateForm (&$form)

Public Attributes

 $__table = 'workorder'
 $id
 $complainant
 $subtype
 $telephone
 $locationdescription
 $receiveddate
 $note
 $administrativearea
 $team
 $dcmmsuser
 $network
 $areaofinterest
 $shape
 $fb_fieldsToRender
 $fb_userEditableFields
 $fb_addFormHeader = false
 $fb_preDefOrder
 $fb_submitText = 'Submit'
 $fb_fieldAttributes = array('receiveddate' => array('size' => 19))
 $fb_textFields = array('locationdescription', 'note')
 $fb_strFields = array('receiveddate')
 $fb_selectAddEmpty = array()

Detailed Description

DCMMS -- DC Maintenance Management System

Workorder.php - Workorder DataObject class.

Copyright (C) 2004 - 2006 DORSCH Consult

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Member Function Documentation

DataObject_Workorder::__clone  ) 
 

DataObject_Workorder::postGenerateForm &$  form  ) 
 

Add validation rules and default values to form and fix Arabic layout.

Parameters:
&$form is the HTML Quickform to which the rules should be added.
Returns:
Nothing.
Set the extent of the Workorder map.

DataObject_Workorder::preGenerateForm &$  fb  ) 
 

Set the internationalized form labels.

DataObject_Workorder::staticGet k,
v = NULL
 

DataObject_Workorder::table  ) 
 

Get an associative array of table columns (key=>type).

Returns:
array Associative array of table columns.


Member Data Documentation

DataObject_Workorder::$__table = 'workorder'
 

DataObject_Workorder::$administrativearea
 

DataObject_Workorder::$areaofinterest
 

DataObject_Workorder::$complainant
 

DataObject_Workorder::$dcmmsuser
 

DataObject_Workorder::$fb_addFormHeader = false
 

Hide the form header.

DataObject_Workorder::$fb_fieldAttributes = array('receiveddate' => array('size' => 19))
 

Field attributes like maximum length.

DataObject_Workorder::$fb_fieldsToRender
 

Initial value:

 array('network', 'subtype', 'complainant', 'telephone',
    'locationdescription', 'receiveddate', 'note', 
    'administrativearea', 'team', 'dcmmsuser')
Fields that should be rendered by FormBuilder.

DataObject_Workorder::$fb_preDefOrder
 

Initial value:

 array('network', 'subtype', 'complainant', 'telephone',
    'locationdescription', 'receiveddate', 'note', 
    'administrativearea', 'team', 'dcmmsuser')
Order of fields in the form.

DataObject_Workorder::$fb_selectAddEmpty = array()
 

DataObject_Workorder::$fb_strFields = array('receiveddate')
 

DataObject_Workorder::$fb_submitText = 'Submit'
 

Text of the submit button (to be localized).

DataObject_Workorder::$fb_textFields = array('locationdescription', 'note')
 

DataObject_Workorder::$fb_userEditableFields
 

Initial value:

 array('complainant', 'subtype', 'telephone',
    'locationdescription', 'note', 'team', 'network', 'receiveddate')
Form fields to be editable by the user.

DataObject_Workorder::$id
 

DataObject_Workorder::$locationdescription
 

DataObject_Workorder::$network
 

DataObject_Workorder::$note
 

DataObject_Workorder::$receiveddate
 

DataObject_Workorder::$shape
 

DataObject_Workorder::$subtype
 

DataObject_Workorder::$team
 

DataObject_Workorder::$telephone
 


The documentation for this class was generated from the following file:
Generated on Sat Jul 1 21:19:36 2006 for DCMMS by  doxygen 1.4.6-NO