[ Index ] |
|
Code source de Symfony 1.0.0 |
1 /* ----------------------------------------------------------------------- 2 <?php echo $table->getName() ?> 3 ----------------------------------------------------------------------- */ 4 <?php echo $generator->parse("$basepath/drop.tpl") ?> 5 CREATE TABLE <?php echo $table->getName() ?> 6 (<?php 7 8 $cols = $generator->parse("$basepath/columns.tpl"); 9 $unique = $generator->parse("$basepath/unique.tpl"); 10 11 if (empty($unique)) { 12 echo preg_replace('/[ ,]+[\s]*$/', '', $cols); 13 } else { 14 echo $cols; 15 } 16 17 if (!empty($unique)) { 18 echo "\n" . preg_replace('/[ ,]+[\s]*$/', '', $unique); 19 } 20 21 ?> 22 ); 23 <?php echo $generator->parse("$basepath/primarykey.tpl")?> 24 <?php echo $generator->parse("$basepath/index.tpl")?> 25 <?php echo $generator->parse("$basepath/sequence.tpl")?> 26
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |