src/Netzmacht/Bootstrap/Buttons/ContentElement/ButtonsElement.php
protected function compile()
    {
        if (!$this->bootstrap_buttonStyle) {
            $this->bootstrap_buttonStyle = 'btn-default';
        }

        $buttons = Factory::createFromFieldset($this->bootstrap_buttons);
        $buttons->eachChild(array($this, 'addButtonStyle'));

        $this->Template->buttons = $buttons;
    }
protected function compile()
    {
        if (!$this->bootstrap_buttonStyle) {
            $this->bootstrap_buttonStyle = 'btn-default';
        }

        $buttons = Factory::createFromFieldset($this->bootstrap_buttons);
        $buttons->eachChild(array($this, 'addButtonStyle'));

        $this->Template->buttons = $buttons;
    }
protected function compile ( ) { if ( ! $ this -> bootstrap_buttonStyle ) { $ this -> bootstrap_buttonStyle = 'btn-default' ; } $ buttons = Factory :: createFromFieldset ( $ this -> bootstrap_buttons ) ; $ buttons -> eachChild ( array ( $ this , 'addButtonStyle' ) ) ; $ this -> Template -> buttons = $ buttons ; }
Compile the button toolbar.

@return void
Compile the button toolbar .