Parameters
$key - The element key.
$throwError - Indicates if an error should be thrown if the key is not found.
Syntax
PHP |
protected function DeleteItem($key, bool $throwError = true) : void
|
Remove the item by Key value.
Example
PHP |
include_once "LJCRoot.php";
$prefix = RelativePrefix();
include_once "$prefix/LJCPHPCommon/LJCCollectionLib.php";
// $collection extends LJCCollectionBase
$collection->Remove("KeyName");
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.