Located in File: /phpDocumentor/Classes.inc
The phpDocumentor_IntermediateParser class uses this class and its cousin, ProceduralPages to organize all parsed source code elements. Data is fed to each immediately after it is parsed, and at conversion time, everything is organized.
The Classes class is responsible for all inheritance, including resolving name conflicts between classes, determining which classes extend other classes, and is responsible for all inheritance of documentation.
sets up the $classesbyfile, $classesbynamefile, $extendsbyfile, $classchildrenbyfile, $roots arrays, and sets $curclass
sets up the $constsbyfile array using $curfile and $curclass
sets up the $methodsbyfile array using $curfile and $curclass
sets up the $varsbyfile array using $curfile and $curclass
retrieves the array entry from $classesbyfile for $path
Returns the $classconflicts entry for class $class, minus its own path
uses 3 tests to find the parent classname:
This function uses $roots to traverse the inheritance tree via processChild() and returns the data structures phpDocumentor_IntermediateParser needs to convert parsed data to output using phpDocumentor_IntermediateParser::Convert()
sets $curfile to $file and $curclass to false (no class being parsed)
Using structures defined in Classes, the function first sets package information, and then seeks out child classes. It uses 3 tests to determine whether a class is a child class.
Modifies the parserClass element in $classesbyfile to use the parent's package, and inherit methods/vars