sfWidgetFormSchemaFormatterTable.class.php 852 B

1234567891011121314151617181920212223242526
  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. }