|
|
File: c:/www/apache/doc2//accessor/PhpdocWarningAccessor.php
PHPDOC 2000/12/03 - PHPDoc
PhpdocWarningAccessor
PhpdocObject | +-- PhpdocAccessor | +-- PhpdocWarningAccessor
Extracts the warnings from PHPDoc warnings_* files.
|
private class PhpdocWarningAccessor extends PhpdocAccessor
Extracts the warnings from PHPDoc warnings_* files.
|
|
|
|
|
|
Private Method Summary |
void |
buildWarnings(string $xmlfile)Build the internal list of warnings. |
void |
init()Reformats the xml result array from the PhpdocXMLReader.Warning: documentation is missing. |
|
|
|
Public Field Summary |
boolean |
$freeOnGetIf set to true all get_xy() functions will free their resources. |
|
Private Field Summary |
array |
$warningsArray of warnings. |
boolean |
$flag_buildFlag used to detect if get_xy() was called.s |
|
Public Method Details |
getWarnings |
public array getWarnings( string $xmlfile )
|
|
Returns a hash of warnings in of the given XML file.
|
Parameter |
|
|
Returns |
array |
See Also |
$freeOnGet |
|
|
Private Method Details |
buildWarnings |
private void buildWarnings( string $xmlfile )
|
|
Build the internal list of warnings.
|
Parameter |
|
string |
$xmlfile |
|
|
file to load |
|
Returns |
void |
|
init |
private void init( )
|
|
Reformats the xml result array from the PhpdocXMLReader.
Every derived class must override this function to call the functionsit needs to reorganize the data from the PhpdocXMLReader in away that it needs.
Warning: documentation is missing.
|
Returns |
void |
See Also |
$xml, $data |
|
|
Public Field Details |
$freeOnGet |
public boolean $freeOnGet
>>true <<
If set to true all get_xy() functions will free their resources.
|
|
|
Private Field Details |
$warnings |
private array $warnings
>>array() <<
Array of warnings.
|
|
$flag_build |
private boolean $flag_build
>>false <<
Flag used to detect if get_xy() was called.s
|
|
|
|
|
PHPDoc 1.0beta |