/**
* Write the current state of this instance to the config file.
- * @return (bool) If the function fails, it returns <tt>false</tt>. Call getLastError() to get
- * more information about the error.
+ * @return (bool) If the function fails, it returns <tt>false</tt>. Call
+ * getLastError() to get more information about the error.
*/
public function writeConfig() {
// Open config file
// 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 .= "?>";
/**
* Enable or disable mail notification
- * @param $b (bool) <tt>true</tt> to enable mail notification, <tt>false</tt> to disable it.
+ * @param $b (bool) <tt>true</tt> to enable mail notification, <tt>false</tt>
+ * 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; }
/**
* Determine if mail notification is enabled
- * @return (bool) <tt>true</tt> if mail notification is enabled, otherwise <tt>false</tt>
+ * @return (bool) <tt>true</tt> if mail notification is enabled, otherwise
+ * <tt>false</tt>
*/
public function isMailNotify() { return $this->bMailNotify; }
/** @} */
}
-?>
\ No newline at end of file
+?>