<?php /** @var QSqlTable $objTable */ /** @var QDatabaseCodeGen $objCodeGen */ global $_TEMPLATE_SETTINGS; $strPropertyName = QCodeGen::DataListPropertyName($objTable); $strPropertyNamePlural = QCodeGen::DataListPropertyNamePlural($objTable); $_TEMPLATE_SETTINGS = array('OverwriteFlag' => true, 'DocrootFlag' => true, 'DirectorySuffix' => '', 'TargetDirectory' => __FORMS__, 'TargetFileName' => QConvertNotation::UnderscoreFromCamelCase($objTable->ClassName) . '_edit.tpl.php'); print "<?php\n"; ?> // This is the HTML template include file (.tpl.php) for the <?php echo QConvertNotation::UnderscoreFromCamelCase($strPropertyName); ?> _edit.php // Feel free to edit this as needed. global $gObjectName; global $gObjectNamePlural; $gObjectName = QApplication::Translate('<?php echo $strPropertyName; ?> '); $gObjectNamePlural = QApplication::Translate('<?php echo $strPropertyNamePlural; ?> '); $strPageTitle = QApplication::Translate('<?php echo $strPropertyName; ?> ');