[ Index ] |
|
Code source de Symfony 1.0.0 |
1 <?php 2 foreach ($table->getColumns() as $col) { 3 /* 4 $type = $col->getSqlType(); 5 $size = $col->printSize(); 6 $default = $col->getDefaultSetting(); 7 8 $entry = $col->getName() . " $type $size $default ".$col->getNotNullString(); 9 */ 10 $entry = $col->getSqlString(); 11 12 // collapse spaces 13 $entry = preg_replace('/[\s]+/', ' ', $entry); 14 15 16 // ' ,' -> ',' 17 $entry = preg_replace('/[\s]*,[\s]*/', ',', $entry); 18 ?> 19 <?php echo $entry ?>,<?php } ?>
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 |