Child classes:
- RecordError
- encapsulates error information
Inherited Variables
Inherited Constants
Inherited Methods
Class Details
encapsulates warning information
Tags:
- author - Greg Beaver <[email protected]>
- version - Release: @VER@
- copyright - 2001-2008 Gregory Beaver
- link - http://pear.php.net/PhpDocumentor
- link - http://www.phpdoc.org
- todo - CS cleanup - change package to PhpDocumentor
- license - LGPL
[ Top ]
Class Variables
$data
[ Top ]
$file = false
[ Top ]
$linenum
[ Top ]
$num
[ Top ]
$type = 'phpDocumentor_warning_descrip'
[line 752]
name of global variable that descriptors for this warning/error is kept
Type: string
Overrides:
[ Top ]
Class Methods
RecordWarning
RecordWarning RecordWarning(
string
$file, integer
$linenum, integer
$num, string
$data...)
[line 785]
Constructor
Tags:
- todo - CS Cleanup - do I need to add $data to the method signature? to sprintf based on the error number
Parameters:
- string $file - filename this error occurred in ($file)
- integer $linenum - line number this error occurred on ($linenum)
- integer $num - Error number defined in Errors.inc
- string $data... - variable number of strings, up to 4,
[ Top ]
output
void output(
[string
$string = false])
[line 809]
prints the warning
Overridden in child classes as:
- RecordError::output()
- prints the error
Parameters:
- string $string - the warning to print
[ Top ]