X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/3e05075cf3aeff4d23dc9eba7af236ea47cb919d..14c178039044c79ef0f4f770c869e73e69ff1c07:/inc/class_erConfig.inc diff --git a/inc/class_erConfig.inc b/inc/class_erConfig.inc index 8cdfbf6..ee7c6df 100644 --- a/inc/class_erConfig.inc +++ b/inc/class_erConfig.inc @@ -91,8 +91,8 @@ class erConfig { /** * Write the current state of this instance to the config file. - * @return (bool) If the function fails, it returns false. Call getLastError() to get - * more information about the error. + * @return (bool) If the function fails, it returns false. Call + * getLastError() to get more information about the error. */ public function writeConfig() { // Open config file @@ -117,7 +117,8 @@ class erConfig { // Mail notification $strFile .= sprintf("\$cfgErrors->setMailNotify(%s);\n", $this->isMailNotify() ? "true" : "false"); - $strFile .= sprintf("\$cfgErrors->setMailNotifyAddr('%s');\n", $this->getMailNotifyAddr()); + $strFile .= sprintf("\$cfgErrors->setMailNotifyAddr('%s');\n", + $this->getMailNotifyAddr()); $strFile .= "?>"; @@ -146,13 +147,15 @@ class erConfig { /** * Enable or disable mail notification - * @param $b (bool) true to enable mail notification, false to disable it. + * @param $b (bool) true to enable mail notification, false + * to disable it. */ public function setMailNotify($b) { $this->bMailNotify = ($b == true); } /** * Set the mail address(es) for mail notification - * @param $str (string) The adresses to send the notofication mails to, comma-separated + * @param $str (string) The adresses to send the notofication mails to, + * comma-separated */ public function setMailNotifyAddr($str) { $this->strMailNotifyAddr = $str; } @@ -164,7 +167,8 @@ class erConfig { /** * Determine if mail notification is enabled - * @return (bool) true if mail notification is enabled, otherwise false + * @return (bool) true if mail notification is enabled, otherwise + * false */ public function isMailNotify() { return $this->bMailNotify; } @@ -205,4 +209,4 @@ class erConfig { /** @} */ } -?> \ No newline at end of file +?>