Classes

File builder/form/fieldset/FormFieldsetVertical.class.php

File builder/form/fieldset/FormFieldsetVertical.class.php

 1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 
<?php
/**
 * @package     Builder
 * @subpackage  Form\fieldset
 * @copyright   &copy; 2005-2019 PHPBoost
 * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL-3.0
 * @author      Benoit SAUTEL <ben.popeye@phpboost.com>
 * @version     PHPBoost 5.2 - last update: 2017 03 11
 * @since       PHPBoost 3.0 - 2010 02 16
 * @contributor mipel <mipel@phpboost.com>
*/

class FormFieldsetVertical extends AbstractFormFieldset
{

    public function __construct($id, $options = array())
    {
        parent::__construct($id, $options);
    }

    /**
     * @return Template
     */
    public function display()
    {
        $template = $this->get_template_to_use();

        $this->assign_template_fields($template);

        return $template;
    }

    protected function get_default_template()
    {
        return new FileTemplate('framework/builder/form/fieldsetelements/FormFieldsetVertical.tpl');
    }
}
?>
Annonces