public function end($buttons = NULL, $options = []) { $res = $this->_cleanCurrent(); if ($buttons !== null) { $res .= $this->footer($buttons, $options); } $res .= '</div></div></div>'; return $res; }