public function footer($buttons = null, $options = [])
{
if (is_array($buttons)) {
if (!empty($buttons) && $this->_isAssociativeArray($buttons)) {
$options = $buttons;
$buttons = null;
} else {
$buttons = implode('', $buttons);
}
}
return $this->_createFooter($buttons, $options);
}