isError()) return "alert-danger"; if ($this->isWarning()) return "alert-warning"; if ($this->isNotice()) return "alert-info"; return ""; } /* * Get the appropriate glyphicon to use when showing the notice modal */ function getNoticeModalGlyphicon() { if ($this->isError()) return "glyphicon glyphicon-remove-sign"; if ($this->isWarning()) return "glyphicon glyphicon-exclamation-sign"; if ($this->isNotice()) return "glyphicon glyphicon-info-sign"; return ""; } } ?>