|
|
File: c:/www/apache/doc2//indexer/PhpdocIndexer.php
PHPDOC 2000/12/03 - PHPDoc
PhpdocIndexer
PhpdocObject | +-- PhpdocIndexer
Builds Indexlists with the result from the
|
private class PhpdocIndexer extends PhpdocObject
Builds Indexlists with the result from the
|
|
|
|
Public Method Summary |
void |
addClass(array &$class)Adds a class to the index lists (elements, packages, classtree). |
void |
addModule(array &$module)Adds a module to the index lists (elements, packages, classtree). |
array |
getClasstree()Returns the current classtree and resets the internal classtree field. |
array |
getModulegroup()Returns the current modulegroup and resets the internal modulegroup field. |
array |
getPackages()Returns the package list and resets the internal package field. |
array |
getElementlist()Returns the element index list and resets the internal elements field. |
|
|
|
Private Field Summary |
array |
$packagesArray of all packages. |
array |
$classtreeCurrent classtree. |
array |
$modulegroupCurrent modulegroup. |
array |
$elementsArray of all elements (functions, variables, constant, included files, classes, packages). |
array |
$elementFieldsArray of fields that get added to the elementlist |
|
Public Method Details |
addClass |
public void addClass( array &$class )
|
|
Adds a class to the index lists (elements, packages, classtree).
|
Parameter |
|
|
Returns |
void |
See Also |
addModule() |
|
addModule |
public void addModule( array &$module )
|
|
Adds a module to the index lists (elements, packages, classtree).
|
Parameter |
|
|
Returns |
void |
See Also |
addClass() |
|
getClasstree |
public array getClasstree( )
|
|
Returns the current classtree and resets the internal classtree field.
|
Returns |
array $classtree |
|
getModulegroup |
public array getModulegroup( )
|
|
Returns the current modulegroup and resets the internal modulegroup field.
|
Returns |
array $modulegroup |
|
getPackages |
public array getPackages( )
|
|
Returns the package list and resets the internal package field.
|
Returns |
array $packages |
|
getElementlist |
public array getElementlist( )
|
|
Returns the element index list and resets the internal elements field.
|
Returns |
array $elements |
|
|
Private Method Details |
addElements |
private void addElements( array &$elements, string $type )
|
|
Adds an element to the elementlist.
|
Parameter |
|
|
|
string |
$type |
|
|
type: class, module. |
|
Returns |
void |
|
|
Private Field Details |
$packages |
private array $packages
>>array() <<
Array of all packages.
|
|
$classtree |
private array $classtree
>>array() <<
Current classtree.
|
|
$modulegroup |
private array $modulegroup
>>array() <<
Current modulegroup.
|
|
$elements |
private array $elements
>>array() <<
Array of all elements (functions, variables, constant, included files, classes, packages).
|
|
$elementFields |
private array $elementFields
>>array("functions", "variables", "consts", "uses") <<
Array of fields that get added to the elementlist
|
|
|
|
|
PHPDoc 1.0beta |