DataObject_Team Class Reference

List of all members.

Public Member Functions

 __clone ()
 staticGet ($k, $v=NULL)
 translate ($translate=true)
 find ($n=false)
 preGenerateForm ()
 postGenerateForm (&$form)

Public Attributes

 $__table = 'team'
 $boolTranslate = true
 $fb_addFormHeader = false
 $fb_fieldLabels = NULL
 $fb_submitText = 'Submit'
 $fb_linkDisplayFields = array('description')

Detailed Description

DCMMS -- DC Maintenance Management System

Workorder.php - Team 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_Team::__clone  ) 

DataObject_Team::find n = false  ) 

Find results, localize description

boolean $n Fetch first result.
int number of records found.
Update query whenever Team table structure changes.

DataObject_Team::postGenerateForm &$  form  ) 

Add validation rules to form and fix Arabic layout.

&$form is the HTML Quickform to which the rules should be added.

DataObject_Team::preGenerateForm  ) 

Localize labels and buttons.

DataObject_Team::staticGet k,
v = NULL

DataObject_Team::translate translate = true  ) 

Specify whether the description field should be translated or not.

boolean $translate Translate if true, don't translate if false.

Member Data Documentation

DataObject_Team::$__table = 'team'


DataObject_Team::$boolTranslate = true

Whether to translate the description field or not.



DataObject_Team::$fb_addFormHeader = false

Don't display a header above the form.

DataObject_Team::$fb_fieldLabels = NULL

Field labels (for localization).

DataObject_Team::$fb_linkDisplayFields = array('description')

Use the description property when the class is used as a source for a select box.

DataObject_Team::$fb_submitText = 'Submit'

Submit button text (to be localized).


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