/ LJCPHPCodeDoc / LJCDBAccessLib / LJCJoins / Get


Parameters
$key - The key value.
$throwError - The optional throw error flag.

Syntax

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

Get the item by Key value.

Example

PHP
 $webCommonPath = "c:/inetpub/wwwroot/LJCPHPCommon";
 require_once "$webCommonPath/LJCDBAccessLib.php";
 
 $joins = new LJCJoins();
 $joins->Add("TableName");
 $join = $joins->Get("TableName");

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