fixed broken comment function: Change button had no name
[iserv-mod-error-reporter.git] / inc / class_erConfig.inc
index 8cdfbf6..ee7c6df 100644 (file)
@@ -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 <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
@@ -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) <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; }
 
@@ -164,7 +167,8 @@ class erConfig {
   
   /**
    * 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; }
 
@@ -205,4 +209,4 @@ class erConfig {
   
   /** @} */
 }
-?>
\ No newline at end of file
+?>
This page took 0.023475 seconds and 4 git commands to generate.