DataObject_Translation Class Reference

List of all members.

Public Member Functions

 __clone ()
 staticGet ($k, $v=NULL)
 preGenerateForm (&$fb)
 postGenerateForm (&$form)
 getTable ($strBacklink= '', $strPagePath= '')

Public Attributes

 $__table = 'translation'
 $fb_addFormHeader = false
 $fb_fieldsToRender = array("language", "translation")
 $fb_hidePrimaryKey = false

Detailed Description

DCMMS -- DC Maintenance Management System

Translation.php - Translation 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_Translation::__clone  ) 

DataObject_Translation::getTable strBacklink = '',
strPagePath = ''

Return an HTML_Table containing all available translations. The table includes a link to a page for translation editing.

$strBacklink is a link back to the page that links to translation management.
$strPagePath is the link from the current page to the translation management page ('' or 'admin/').
An HTML_Table.

DataObject_Translation::postGenerateForm &$  form  ) 

Add validation rules to form and fix Arabic layout.

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

DataObject_Translation::preGenerateForm &$  fb  ) 

Set the internationalized form labels.

DataObject_Translation::staticGet k,
v = NULL

Member Data Documentation

DataObject_Translation::$__table = 'translation'

DataObject_Translation::$fb_addFormHeader = false

Don't display a header above the form.

DataObject_Translation::$fb_fieldsToRender = array("language", "translation")

Show language.

DataObject_Translation::$fb_hidePrimaryKey = false

Show the primary key.




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