X-Git-Url: https://git.rohieb.name/iserv-mod-error-reporter.git/blobdiff_plain/ae87133905d183987eb75369fe94bb739a2b1cb9..176ad325b77cecbaeb37af794752ff8936d3f77b:/inc/class_erConfig.inc
diff --git a/inc/class_erConfig.inc b/inc/class_erConfig.inc
index c183623..ee7c6df 100644
--- a/inc/class_erConfig.inc
+++ b/inc/class_erConfig.inc
@@ -1,29 +1,29 @@
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
+?>