/ Home / LJCPHPProjects / GenDoc / GenCodeDoc

PHP GenCodeDoc

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

  (GenCodeDocFiles.php)
    (GenCodeDocLib.php)
    GenCodeDoc->CreateFromList()
      CreateFilePages()
        (LJCDocDataGenLib.php)
        LJCDocDataGen->SerializeDocData()
        (LJCGenDataGenLib.php)
        LJCGenDataGen->SerializeLib()
          GetHTMLText()
            (LJCGenTextLib.php)
            LJCGenText->ProcessTemplate()
GenCodeDocFiles.cmd The example command file.
GenCodeDocFiles.php The example program entry file. It calls GenCodeDoc->CreateFromList() for each PHP File where HTML CodeDoc will be generated.
GenCodeDocLib.php Contains classes to generate the XML and HTML files.
Method GenCodeDoc->CreateFromList()
For each specified PHP Source file it calls LJCDocDataGen->SerializeDocData() to create the DocData XML string.
The DocData XML string is passed to LJCGenDataGen->SerializeLib() 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.