/ 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
Constructor Methods
construct Initializes an object instance.
SetConfig _FunctionSummary_
Lib Methods
SerializeLib Creates a Lib GenData XML string and optional file.
3 Functions

Public Properties
$HTMLPath Creates a Method Params section GenData XML string.

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