Description
Located in File: /phpDocumentor/Errors.inc
encapsulates warning information
Classes extended from RecordWarning:
- RecordError
- encapsulates error information
Method Detail
Summary:
RecordWarning
RecordWarning
(
string $file,
integer $linenum,
integer $num,
string $data...)
void
output
([
string $string =
false])
Constructor RecordWarning (line 785)
RecordWarning RecordWarning(
string
$file, integer
$linenum, integer
$num, string
$data...)
Constructor
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,
Info
- todo - CS Cleanup - do I need to add $data to the method signature? to sprintf based on the error number
Method output (line 809)
void output(
[string
$string = false])
Overridden in child classes as:
- RecordError::output()
- prints the error
prints the warning
Parameters
- string $string: the warning to print
Info