/ LJCPHPCodeDoc / LJCDBAccessLib / LJCDbColumns / Get


Parameters
$key - The collection array key.

Returns

The collection item.

Syntax

PHP
public function Get($key, bool $throwError = true) : ?LJCDbColumn

Get the item by Key value.

Example

PHP
 $webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
 require_once "$webCommonPath/LJCDBAccessLib.php";
 
 $dbColumns = new LJCDbColumns();
 $dbColumns->Add("Name");
 $dbColumn = $dbColumns->Get("Name");

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