blob: 1ce9b9aa67ba9b45017e54c1b1b2240ac322a07b (
plain) (
tree)
|
|
<?php
require_once "class/model.class.php";
class MasterModel extends Model
{
/*
* Get string of all logged error messages
*/
function getErrorStr()
{
if (!$this->isError())
return "";
return implode("<br />", $this->errorlist);
}
/*
* Get string of all logged warning messages
*/
function getWarningStr()
{
if (!$this->isWarning())
return "";
return implode("<br />", $this->warninglist);
}
/*
* Get string of all logged notice messages
*/
function getNoticeStr()
{
if (!$this->isNotice())
return "";
return implode("<br />", $this->noticelist);
}
}
?>
|