classes/collection/ElementCollection.php
public function find($iElementID)
    {
        if (!$this->has($iElementID)) {
            return $this->makeItem(null);
        }

        return $this->makeItem($iElementID);
    }
public function find($iElementID)
    {
        if (!$this->has($iElementID)) {
            return $this->makeItem(null);
        }

        return $this->makeItem($iElementID);
    }
public function find ( $ iElementID ) { if ( ! $ this -> has ( $ iElementID ) ) { return $ this -> makeItem ( null ) ; } return $ this -> makeItem ( $ iElementID ) ; }
Get element item with ID
@see  \Lovata\Toolbox\Tests\Unit\CollectionTest::testFindMethod()
@link https://github.com/lovata/oc-toolbox-plugin/wiki/ElementCollection#findielementid
@param int $iElementID
@return \Lovata\Toolbox\Classes\Item\ElementItem
Get element item with ID