sfWidgetFormSchemaFormatterList.class.php 803 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: sfWidgetFormSchemaFormatterList.class.php 5995 2007-11-13 15:50:03Z fabien $
  16. */
  17. class sfWidgetFormSchemaFormatterList extends sfWidgetFormSchemaFormatter
  18. {
  19. protected
  20. $rowFormat = "<li>\n %error%%label%\n %field%%help%\n%hidden_fields%</li>\n",
  21. $errorRowFormat = "<li>\n%errors%</li>\n",
  22. $helpFormat = '<br />%help%',
  23. $decoratorFormat = "<ul>\n %content%</ul>";
  24. }