Parameters
$docXMLString - The DocData XML string.
$codeFileSpec - The code file specification.
$writeXML - Indicates if the XML file is to be written.
$outputPath - The output path.
Syntax
PHP |
public function CreateLibXMLString(string $docXMLString, string $codeFileSpec , bool $writeXML = false, string $outputPath = null) : string
|
Creates a Lib GenData XML string and optional file.
Example
PHP |
include_once "LJCRoot.php";
$prefix = RelativePrefix();
include_once "$prefix/GenDoc/DocDataLib/LJCDocDataGenLib.php";
include_once "$prefix/GenDoc/GenDataLib/LJCGenDataGenLib.php";
$docDataGen = new LJCDocDataGen();
$genDataGen = new LJCGenDataGen();
$fileSpec = "SourceFile.php";
$docXMLString = $this->DocDataGen->CreateDocXMLString($fileSpec);
$genXMLString = $this->GenDataGen->CreateLibXMLString($docXMLString
, $fileSpec);
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.