/ LJCPHPCodeDoc / LJCDocDataGenLib / LJCDocDataGen / CreateDocDataXMLString


Parameters
$codeFileSpec - The code file specification.
$writeXML - Indicates if the XML file is to be written.
$outputPath - The output path.

Returns

The DocData XML string.

Syntax

PHP
public function CreateDocDataXMLString(string $codeFileSpec, bool $writeXML = false
, string $outputPath = null) : ?string

Creates and optionally writes the DocData XML.

Example

PHP
 require_once "LJCDocDataGenLib.php";
 
 $docDataGen = new LJCDocDataGen();
 $xmlString = $docDataGen->CreateDocXMLString("SourceFile.php");

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