/ LJCPHPCodeDoc / LJCGenDataGenLib / LJCGenDataGen


Syntax

PHP
class LJCGenDataGen

Provides methods to generate GenData XML files.

Remarks

The GenData XML files provide the data for GenTextLib-LJCGenText to generate CodeDoc HTML files.

The GenData XML is intended to display the XML Comments based on the Text Template that will be used.

The Text Section and Replacement names must match those expected by the Template.

The number and names of sections, items and replacements depends on the GenData from the PHP files and the requirements of the HTML Template.

This is the standard layout for the GenData XML files.
 <Data xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <Sections>
     <Section>
       <Begin/>
       <Name>Main</Name>
       <Items>
         <Item>
           <Replacements>
             <Replacement>
               <Name></Name>
               <Value></Value>
             <Replacement>
           <Replacements>
         <Item>
       <Items>
     <Section>
   <Sections>
 </Data>

Public Functions
construct Initializes an object instance.
CreateLibXMLString Creates a Lib GenData XML string and optional file.
2 Functions

Public Properties
$HTMLPath _PropertySummary_

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.