translation_management.php File Reference


Variables

 $options = &PEAR::getStaticProperty("DB_DataObject", "options")
 $config = parse_ini_file("../conf/dataobject.ini", TRUE)
 $options = $config["DB_DataObject"]
 $options ["database"]
 $_DB_DATAOBJECT_FORMBUILDER ["CONFIG"] = $config["DB_DataObject_FormBuilder"]
 $dcmPage = new DcmmsAdminPage(_("Translation"))
 $strDelete = "delete from Translation where Translation is null"
 $strInsert
 $blnShowForm = false
 $blnShowForm = true
 break
default __pad0__
 $objTranslationBuilder = & DB_DataObject_FormBuilder::create($objTranslation)
 $objTranslationForm = & $objTranslationBuilder->getForm($_SERVER["REQUEST_URI"])
 $objDbTablePager
 $intRowCount = $objDbTablePager->getRowCount()
 $strTerm = $objDbTablePager->getCellContents($intI, 1)
 $strTranslation = $objDbTablePager->getCellContents($intI, 2)

Variable Documentation

$_DB_DATAOBJECT_FORMBUILDER["CONFIG"] = $config["DB_DataObject_FormBuilder"]
 

$blnShowForm = true
 

$blnShowForm = false
 

Whether to show the data entry form or the paged table.

$config = parse_ini_file("../conf/dataobject.ini", TRUE)
 

$dcmPage = new DcmmsAdminPage(_("Translation"))
 

$intRowCount = $objDbTablePager->getRowCount()
 

$objDbTablePager
 

Initial value:

 new DbTablePager($dcmPage->postgis->db, 
  "select Language, Term, Translation from Translation order by Translation")
Show translations in paged table.

$objTranslationBuilder = & DB_DataObject_FormBuilder::create($objTranslation)
 

$objTranslationForm = & $objTranslationBuilder->getForm($_SERVER["REQUEST_URI"])
 

$options["database"]
 

Initial value:

 "pgsql://".$_SESSION["UserName"].":".
  $_SESSION["Password"]."@"."localhost/".$_SESSION["strDataBase"]

$options = $config["DB_DataObject"]
 

$options = &PEAR::getStaticProperty("DB_DataObject", "options")
 

Todo:
Save name conflict between application language and translation language.

$strDelete = "delete from Translation where Translation is null"
 

Add missing translations to Translation table.

$strInsert
 

Initial value:

 "insert into Translation (select distinct Language, Term, ".
  "Translation from ".
  "MissingTranslationView)"

$strTerm = $objDbTablePager->getCellContents($intI, 1)
 

$strTranslation = $objDbTablePager->getCellContents($intI, 2)
 

default __pad0__
 

break
 


Generated on Sat Jul 1 21:19:27 2006 for DCMMS by  doxygen 1.4.6-NO