public function render(ElementInterface $element)
    {
        /* @var $element DisableElementsCapableFormSettings
         * @var $renderer   \Zend\View\Renderer\PhpRenderer
         * @var $headscript \Zend\View\Helper\HeadScript
         * @var $basepath   \Zend\View\Helper\BasePath */
        $renderer   = $this->getView();
        $headscript = $renderer->plugin('headscript');
        $basepath   = $renderer->plugin('basepath');

        $headscript->appendFile($basepath('modules/Settings/js/forms.decfs.js'));

        return '<ul class="disable-elements-list" id="' . $element->getAttribute('id') . '-list"' . '>'
               . $this->renderCheckboxes($element->getCheckboxes())
               . '</ul>';
    }
public function render(ElementInterface $element)
    {
        /* @var $element DisableElementsCapableFormSettings
         * @var $renderer   \Zend\View\Renderer\PhpRenderer
         * @var $headscript \Zend\View\Helper\HeadScript
         * @var $basepath   \Zend\View\Helper\BasePath */
        $renderer   = $this->getView();
        $headscript = $renderer->plugin('headscript');
        $basepath   = $renderer->plugin('basepath');

        $headscript->appendFile($basepath('modules/Settings/js/forms.decfs.js'));

        return '<ul class="disable-elements-list" id="' . $element->getAttribute('id') . '-list"' . '>'
               . $this->renderCheckboxes($element->getCheckboxes())
               . '</ul>';
    }
public function render ( ElementInterface $ element ) { /* @var $element DisableElementsCapableFormSettings
         * @var $renderer   \Zend\View\Renderer\PhpRenderer
         * @var $headscript \Zend\View\Helper\HeadScript
         * @var $basepath   \Zend\View\Helper\BasePath */ $ renderer = $ this -> getView ( ) ; $ headscript = $ renderer -> plugin ( 'headscript' ) ; $ basepath = $ renderer -> plugin ( 'basepath' ) ; $ headscript -> appendFile ( $ basepath ( 'modules/Settings/js/forms.decfs.js' ) ) ; return '<ul class="disable-elements-list" id="' . $ element -> getAttribute ( 'id' ) . '-list"' . '>' . $ this -> renderCheckboxes ( $ element -> getCheckboxes ( ) ) . '</ul>' ; }
Renders a disabe form elements toggle checkboxes element.
Renders a disabe form elements toggle checkboxes element .