phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc/class.error.inc.php, 1.10.4.4


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.error.inc.php, 1.10.4.4
Date: Thu, 19 Aug 2004 08:48:57 +0200

Update of /phpgwapi/inc
Modified Files:
        Branch: Version-0_9_16-branch
          class.error.inc.php

date: 2004/08/19 06:48:57;  author: powerstat;  state: Exp;  lines: +9 -7

Log Message:
phpdocs
=====================================================================
Index: phpgwapi/inc/class.error.inc.php
diff -u phpgwapi/inc/class.error.inc.php:1.10.4.3 
phpgwapi/inc/class.error.inc.php:1.10.4.4
--- phpgwapi/inc/class.error.inc.php:1.10.4.3   Tue Feb 10 13:51:18 2004
+++ phpgwapi/inc/class.error.inc.php    Thu Aug 19 06:48:57 2004
@@ -3,7 +3,7 @@
        * Event log
        * @author Jerry Westrick <address@hidden>
        * @copyright Copyright (C) Jerry Westrick <address@hidden>
-       * @copyright Portions Copyright (C) 2003,2004 Free Software Foundation, 
Inc. http://www.fsf.org/
+       * @copyright Portions Copyright (C) 2003-2004 Free Software Foundation, 
Inc. http://www.fsf.org/
        * @license http://www.fsf.org/licenses/gpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage application
@@ -18,9 +18,6 @@
        */
        class error
        {
-               /***************************\
-               *       Instance Variables...   *
-               \***************************/
                var $severity = 'E';
                var $code = 'Unknown';
                var $msg  = 'Unknown error';
@@ -33,7 +30,12 @@
 
                var $public_functions = array();
 
-               // Translate Message into Language
+               /**
+               * Translate message into language
+               *
+               * Uses $this->msg and $this->params
+               * @return string Translated message
+               */
                function langmsg()
                {
                        return lang($this->msg,$this->parms);
@@ -105,7 +107,7 @@
                                // do rollback!
                                // Hmmm this only works if UI!!!!
                                // What Do we do if it's a SOAP/XML?
-                               echo "<Center>";
+                               echo "<center>";
                                echo "<h1>Fatal Error</h1>";
                                echo "<h2>Error Stack</h2>";
                                echo $GLOBALS['phpgw']->log->astable();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]