/ Home / LJCPHPProjects / GenDoc / GenCodeDoc

PHP GenCodeDoc

This project contains classes to generate HTML Documentation files for specific PHP Source files.

  GenCodeDocFiles.php
    GenCodeDoc->CreateFromList()
      GenCodeDoc->CreateXML()
        LJCDocDataGen->CreateDocDataXMLString()
          LJCGenDataGen->CreateLibXMLString()
            LJCGenText->ProcessTemplate()
GenCodeDocFiles.cmd The example command file.
GenCodeDocFiles.php The example program entry file. It calls GenCodeDoc->CreateXML() for each PHP File where HTML CodeDoc will be generated.
GenCodeDocLib.php Contains classes to generate the XML and HTML files.
Method GenCodeDoc->CreateXML()
For each specified PHP Source file it calls LJCDocDataGen->CreateDocDataXMLString() to create the DocXML string.
The DocXML string is passed to LJCGenDataGen->CreateLibXMLString() to create the GenData XML string.
The data from the GenData XML string and the appropriate Text Template are passed to LJCGenText->ProcessTemplate() method to generate the HTML file.