|
|
File: c:/www/apache/doc2//accessor/PhpdocClassAccessor.php
PHPDOC 2000/12/03 - PHPDoc
PhpdocClassAccessor
PhpdocObject | +-- PhpdocAccessor | +-- PhpdocDocumentAccessor | +-- PhpdocClassAccessor
Provides functions to access phpdoc xml documents that contain classes.
|
Provides functions to access phpdoc xml documents that contain classes.
|
|
|
Methods inherited from PhpdocDocumentAccessor |
getfunctions, getfunctionsbyaccess, getvariables, getvariablesbyaccess, getconstants, getconstantsbyaccess, getuses, getusesbytype, getelements, getelementsbyaccess, builduseslist, getelementlist |
|
|
|
|
|
|
|
Private Field Summary |
array |
$inheritedArray of inherited elements |
string |
$xmlkeyKind of top-level container in the xml document. |
|
|
Private Method Details |
convertPath |
private array convertPath( array $xmlpath )
|
|
Converts a xml path array to a path that can be passed to the user.
The path is an array like path[0..n] = classname where path[0] is thedirects parent (extends path[0]) and path[n] is the baseclass.
|
Parameter |
|
|
Returns |
array $path |
|
buildInheritedlist |
private void buildInheritedlist( )
|
|
Builds a list of inherited elements.
|
Returns |
void |
See Also |
$inherited |
|
buildSubclasslist |
private void buildSubclasslist( )
|
|
Builds a list of subclasses
|
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 |
|
|
Private Field Details |
$inherited |
private array $inherited
>>array() <<
Array of inherited elements
|
|
$xmlkey |
private string $xmlkey
>>"class" <<
Kind of top-level container in the xml document.
Must be set by all derived classes.
|
|
|
|
|
PHPDoc 1.0beta |