/ LJCPHPCodeDoc / LJCGenTextSectionLib / LJCDirective / construct


Parameters
$type - The Directive Type.
$name - The Directive name.

Syntax

PHP
public function __construct(string $type, string $name)

Initializes an object instance.

Example

PHP
 include_once "LJCRoot.php";
 $prefix = RelativePrefix();
 include_once "$prefix/GenTextLib/LJCGenTextSectionLib.php";
 
 $directive = new LJCDirective("SectionBegin", "Class");

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