/ 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
 $webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
 require_once "$webCommonPath/LJCGenTextSectionLib.php";
 
 $directive = new LJCDirective("SectionBegin", "Class");

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