/ LJCPHPCodeDoc / LJCDBAccessLib / LJCDbColumn / construct


Parameters
$columnName - The Column name.
$propertyName - The Property name.
$dataTypeName - The DataType name.
$value - The Column value.

Syntax

PHP
public function __construct(string $columnName, ?string $propertyName = null
, ?string $renameAs = null, string $dataTypeName = "string"
, ?string $value = null)

Initializes a class instance.

Example

PHP
 $webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
 require_once "$webCommonPath/LJCDBAccessLib.php";
 
 $dbColumn = new LJCDbColumn("Name");

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