/ LJCPHPCodeDoc / LJCDocDataLib / LJCDocDataClasses / AddObject


Parameters
$item - The object to be added to the collection.
$key - The element key.

Returns

The added item.

Syntax

PHP
public function AddObject(LJCDocDataClass $item, $key = null)

Adds an object and key value.

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