protected function setFormButtons($feat, $hiddenInfo = [])
    {
        $btn   = [];
        $btn[] = '<input type="submit" id="submit" style="margin-left:220px;" value="'
            . $this->lclMsgCmn('i18n_Form_ButtonSave') . '" />';
        if (isset($feat['insertAndUpdate'])) {
            $btn[] = '<input type="hidden" id="insertAndUpdate" name="insertAndUpdate" value="insertAndUpdate" />';
        }
        if ($hiddenInfo != []) {
            foreach ($hiddenInfo as $key => $value) {
                $btn[] = '<input type="hidden" id="' . $key . '" name="' . $key . '" value="' . $value . '" />';
            }
        }
        return '<div>' . implode('', $btn) . '</div>';
    }
protected function setFormButtons($feat, $hiddenInfo = [])
    {
        $btn   = [];
        $btn[] = '<input type="submit" id="submit" style="margin-left:220px;" value="'
            . $this->lclMsgCmn('i18n_Form_ButtonSave') . '" />';
        if (isset($feat['insertAndUpdate'])) {
            $btn[] = '<input type="hidden" id="insertAndUpdate" name="insertAndUpdate" value="insertAndUpdate" />';
        }
        if ($hiddenInfo != []) {
            foreach ($hiddenInfo as $key => $value) {
                $btn[] = '<input type="hidden" id="' . $key . '" name="' . $key . '" value="' . $value . '" />';
            }
        }
        return '<div>' . implode('', $btn) . '</div>';
    }
protected function setFormButtons ( $ feat , $ hiddenInfo = [ ] ) { $ btn = [ ] ; $ btn [ ] = '<input type="submit" id="submit" style="margin-left:220px;" value="' . $ this -> lclMsgCmn ( 'i18n_Form_ButtonSave' ) . '" />' ; if ( isset ( $ feat [ 'insertAndUpdate' ] ) ) { $ btn [ ] = '<input type="hidden" id="insertAndUpdate" name="insertAndUpdate" value="insertAndUpdate" />' ; } if ( $ hiddenInfo != [ ] ) { foreach ( $ hiddenInfo as $ key => $ value ) { $ btn [ ] = '<input type="hidden" id="' . $ key . '" name="' . $ key . '" value="' . $ value . '" />' ; } } return '<div>' . implode ( '' , $ btn ) . '</div>' ; }
Form default buttons

@param array $feat
@param array $hiddenInfo
@return string
Form default buttons