sfWidgetFormSchemaFormatterTable.class.php 852 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /*
  3. * This file is part of the symfony package.
  4. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  5. *
  6. * For the full copyright and license information, please view the LICENSE
  7. * file that was distributed with this source code.
  8. */
  9. /**
  10. *
  11. *
  12. * @package symfony
  13. * @subpackage widget
  14. * @author Fabien Potencier <fabien.potencier@symfony-project.com>
  15. * @version SVN: $Id: sfWidgetFormSchemaFormatterTable.class.php 5995 2007-11-13 15:50:03Z fabien $
  16. */
  17. class sfWidgetFormSchemaFormatterTable extends sfWidgetFormSchemaFormatter
  18. {
  19. protected
  20. $rowFormat = "<tr>\n <th>%label%</th>\n <td>%error%%field%%help%%hidden_fields%</td>\n</tr>\n",
  21. $errorRowFormat = "<tr><td colspan=\"2\">\n%errors%</td></tr>\n",
  22. $helpFormat = '<br />%help%',
  23. $decoratorFormat = "<table>\n %content%</table>";
  24. }