public function restoreFormSettings()
    {
        if (count($this->settingsStack) < 1) {
            throw new \UnderflowException("No settings on the stack to restore");
        }

        $settings = array_pop($this->settingsStack);

        $this->style     = $settings['style'];
        $this->colSize   = $settings['colSize'];
        $this->widgetCol = $settings['widgetCol'];
        $this->labelCol  = $settings['labelCol'];
        $this->simpleCol = $settings['simpleCol'];
    }
public function restoreFormSettings()
    {
        if (count($this->settingsStack) < 1) {
            throw new \UnderflowException("No settings on the stack to restore");
        }

        $settings = array_pop($this->settingsStack);

        $this->style     = $settings['style'];
        $this->colSize   = $settings['colSize'];
        $this->widgetCol = $settings['widgetCol'];
        $this->labelCol  = $settings['labelCol'];
        $this->simpleCol = $settings['simpleCol'];
    }
public function restoreFormSettings ( ) { if ( count ( $ this -> settingsStack ) < 1 ) { throw new \ UnderflowException ( "No settings on the stack to restore" ) ; } $ settings = array_pop ( $ this -> settingsStack ) ; $ this -> style = $ settings [ 'style' ] ; $ this -> colSize = $ settings [ 'colSize' ] ; $ this -> widgetCol = $ settings [ 'widgetCol' ] ; $ this -> labelCol = $ settings [ 'labelCol' ] ; $ this -> simpleCol = $ settings [ 'simpleCol' ] ; }
Restore the form settings from the stack.

@internal Should only be used at the end of form_end.
@see backupFormSettings
@throws \UnderflowException
Restore the form settings from the stack .