Ejemplo n.º 1
0
<?php

/** @var QSqlTable $objTable */
/** @var QDatabaseCodeGen $objCodeGen */
global $_TEMPLATE_SETTINGS;
$strPropertyName = QCodeGen::DataListPropertyName($objTable);
$strClassName = QCodeGen::DataListControlClass($objTable);
$listCodegenerator = $objCodeGen->GetDataListCodeGenerator($objTable);
$strListVarName = $objCodeGen->DataListVarName($objTable);
$options = $objTable->Options;
$_TEMPLATE_SETTINGS = array('OverwriteFlag' => true, 'DocrootFlag' => false, 'DirectorySuffix' => '', 'TargetDirectory' => __MODEL_CONNECTOR_GEN__, 'TargetFileName' => $objTable->ClassName . 'ListGen.class.php');
print "<?php\n";
?>
/**
 * This is the generated connector class for the List functionality
 * of the <?php 
echo $objTable->ClassName;
?>
 class.  This code-generated class
 * subclasses a <?php 
echo $strPropertyName;
?>
 class and can be used to display
 * a collection of <?php 
echo $objTable->ClassName;
?>
 objects.
 *
 * To take advantage of some (or all) of these control objects, you
 * must create an instance of this object in a QForm or QPanel.
 *