[ Index ] |
|
Code source de Symfony 1.0.0 |
1 [?php use_helper('Object') ?] 2 3 [?php echo form_tag('<?php echo $this->getModuleName() ?>/update') ?] 4 5 <?php foreach ($this->getPrimaryKey() as $pk): ?> 6 [?php echo object_input_hidden_tag($<?php echo $this->getSingularName() ?>, 'get<?php echo $pk->getPhpName() ?>') ?] 7 <?php endforeach; ?> 8 9 <table> 10 <tbody> 11 <?php foreach ($this->getTableMap()->getColumns() as $name => $column): ?> 12 <?php if ($column->isPrimaryKey()) continue ?> 13 <?php if ($name == 'CREATED_AT' || $name == 'UPDATED_AT') continue ?> 14 <tr> 15 <th><?php echo sfInflector::humanize(sfInflector::underscore($column->getPhpName())) ?><?php if ($column->isNotNull()): ?>*<?php endif; ?>:</th> 16 <td>[?php echo <?php echo $this->getCrudColumnEditTag($column) ?> ?]</td> 17 </tr> 18 <?php endforeach; ?> 19 </tbody> 20 </table> 21 <hr /> 22 [?php echo submit_tag('save') ?] 23 [?php if (<?php echo $this->getPrimaryKeyIsSet() ?>): ?] 24 [?php echo link_to('delete', '<?php echo $this->getModuleName() ?>/delete?<?php echo $this->getPrimaryKeyUrlParams() ?>, 'post=true&confirm=Are you sure?') ?] 25 [?php echo link_to('cancel', '<?php echo $this->getModuleName() ?>/show?<?php echo $this->getPrimaryKeyUrlParams() ?>) ?] 26 [?php else: ?] 27 [?php echo link_to('cancel', '<?php echo $this->getModuleName() ?>/list') ?] 28 [?php endif; ?] 29 </form>
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 |