Class Error

Description

*************************************************************************

Copyright (C) 2006 by phpSysInfo - A PHP System Information Script * http://phpsysinfo.sourceforge.net/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the * Free Software Foundation, Inc., * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * *************************************************************************

Located in /web/phpsysinfo/includes/class.error.inc.php (line 24)


	
			
Variable Summary
 mixed $errors
Method Summary
 - addError (strCommand $strCommand, strMessage $strMessage, intLine $intLine, strFile $strFile)
 - addWarning (strMessage $strMessage)
 string ErrorsAsHTML (- 0)
 true ErrorsExist (- 0)
Variables
mixed $arrErrorList = array() (line 27)
mixed $errors = 0 (line 29)
Methods
addError (line 43)

addError()

- addError (strCommand $strCommand, strMessage $strMessage, intLine $intLine, strFile $strFile)
  • strCommand $strCommand: string Command, which cause the Error
  • strMessage $strMessage: string additional Message, to describe the Error
  • intLine $intLine: integer on which line the Error occours
  • strFile $strFile: string in which File the Error occours
addWarning (line 60)

addWarning()

- addWarning (strMessage $strMessage)
  • strMessage $strMessage: string Warning message to display
ErrorsAsHTML (line 75)

ErrorsAsHTML()

  • return: string which contains a HTML table which can be used to echo out the errors
string ErrorsAsHTML (- 0)
  • - 0
ErrorsExist (line 121)

ErrorsExist()

  • return: there are errors logged false no errors logged
true ErrorsExist (- 0)
  • - 0

Documentation generated on Mon, 08 Sep 2008 01:10:17 +0200 by phpDocumentor 1.4.0