Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: c:/www/apache/doc2//renderer/html/PhpdocHTMLIndexRenderer.php
PHPDOC 2000/12/03 - PHPDoc

PhpdocHTMLIndexRenderer

PhpdocObject
   |
  +-- PhpdocRendererObject
     |
    +-- PhpdocHTMLRenderer
       |
      +-- PhpdocHTMLIndexRenderer

Renders Index lists.

 

private class PhpdocHTMLIndexRenderer extends PhpdocHTMLRenderer

Renders Index lists.

AuthorsUlf Wendel <ulf.wendel@phpdoc.de>
Version$Id: $

 

Methods inherited from PhpdocHTMLRenderer

setpath, settemplateroot, encode

Methods inherited from PhpdocObject

setflagoutput, out, nametourl, outl, introspection

Public Method Summary

void

PhpdocHTMLIndexRenderer(string $path, string $templateRoot, string $application, [ string $extension ])

Sets the xml and template root directory.
void

generate()

Builds all index files phpdoc needs assuming that the xml files have default names
void

finishClasstree()

Saves the generated classtree summary to disk.
void

addClasstree(string $xmlfile)

Adds a classtree to the classtree summary template.
void

renderElementlist(string $xmlfile)

Renders the element index list.
void

renderPackagelist(string $xmlfile)

Renders a complete packagelist.
void

renderFrameElementlist(string $xmlfile)

Renders files for the lower left frame with the elements of a certain file.
void

renderFramePackagesummary(string $xmlfile)

Renders a Packagesummary for the frameset.

Private Method Summary

void

addModulegroup(string $xmlfile)

Renders a modulegroup xml file.
void

loadPackagelist(string $xmlfile)

Imports the packagelist from the PhpdocIndexAccessor if not done previously.
void

buildClasstreeHTML(string $class)

Recursivly builds an HTML class tree using <ul><li></ul>.
void

finishModulegroup()

Warning: documentation is missing.

Fields inherited from PhpdocHTMLRenderer

$tpl, $accessor, $templateroot, $path

Fields inherited from PhpdocRendererObject

$file_extension, $warn, $accessor

Fields inherited from PhpdocObject

$err, $application, $warn, $flag_output

Private Field Summary

array

$packageFields

Some container in the package list.
array

$packages

Packagelist from the PhpdocIndexAccessor
array

$classtree

Array with classtree informations
object IntegratedTemplate

$treeTpl

IntegratedTemplate Object used be renderClasstree()
object IntegratedTemplate

$moduleTpl

IntegratedTemplateObject used by renderModulegroup()

Public Method Details

PhpdocHTMLIndexRenderer

public void PhpdocHTMLIndexRenderer( string $path, string $templateRoot, string $application, [ string $extension ] )

  Sets the xml and template root directory.

Parameter
string $path
file path
string $templateRoot
file path
string $application
of the application
string $extension = >>".html"<<
extension
Returns void


generate

public void generate( )

  Builds all index files phpdoc needs assuming that the xml files have default names

Returns void

See Also renderElementlist(), renderPackagelist(), renderFramePackageSummary()

finishClasstree

public void finishClasstree( )

  Saves the generated classtree summary to disk.

Returns void


addClasstree

public void addClasstree( string $xmlfile )

  Adds a classtree to the classtree summary template.

Parameter
string $xmlfile
Classtree file
Returns void

See Also finishClasstree()

renderElementlist

public void renderElementlist( string $xmlfile )

  Renders the element index list.

Parameter
string $xmlfile
file
Returns void

See Also generate()

renderPackagelist

public void renderPackagelist( string $xmlfile )

  Renders a complete packagelist.

Parameter
string $xmlfile
file
Returns void

See Also renderFrameElementlist(), renderFramePackagesummary()

renderFrameElementlist

public void renderFrameElementlist( string $xmlfile )

  Renders files for the lower left frame with the elements of a certain file.

Parameter
string $xmlfile
function needs the packagelist.xml to work!
Returns void

See Also renderFramePackagesummary(), renderPackagelist()

renderFramePackagesummary

public void renderFramePackagesummary( string $xmlfile )

  Renders a Packagesummary for the frameset.

Parameter
string $xmlfile
file.
Returns void

See Also renderPackagelist(), renderFrameElementlist()

Private Method Details

addModulegroup

private void addModulegroup( string $xmlfile )

  Renders a modulegroup xml file.

Parameter
string $xmlfile
File
Returns void


loadPackagelist

private void loadPackagelist( string $xmlfile )

  Imports the packagelist from the PhpdocIndexAccessor if not done previously.

Parameter
string $xmlfile
file.
Returns void

See Also $packages

buildClasstreeHTML

private void buildClasstreeHTML( string $class )

  Recursivly builds an HTML class tree using <ul><li></ul>.

Parameter
string $class
of the class the recursive loop starts with
Returns void


finishModulegroup

private void finishModulegroup( )

 

Warning: documentation is missing.

Returns void


Private Field Details

$packageFields

private array $packageFields

>>array("class", "module")<<

Some container in the package list.

See Also renderPackagelist()

$packages

private array $packages

>>array()<<

Packagelist from the PhpdocIndexAccessor


$classtree

private array $classtree

>>array()<<

Array with classtree informations


$treeTpl

private object IntegratedTemplate $treeTpl

>><<

IntegratedTemplate Object used be renderClasstree()


$moduleTpl

private object IntegratedTemplate $moduleTpl

>><<

IntegratedTemplateObject used by renderModulegroup()



Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta