public function addObjects($arrObjects, $blnAddToBeginning = false)
    {
        foreach ($arrObjects as $varObject) {
            $this->addObject($varObject, $blnAddToBeginning);
        }
    }
public function addObjects($arrObjects, $blnAddToBeginning = false)
    {
        foreach ($arrObjects as $varObject) {
            $this->addObject($varObject, $blnAddToBeginning);
        }
    }
public function addObjects ( $ arrObjects , $ blnAddToBeginning = false ) { foreach ( $ arrObjects as $ varObject ) { $ this -> addObject ( $ varObject , $ blnAddToBeginning ) ; } }
Add objects to the collection

@param array $arrObjects An array of items / collection of objects to be added
@param boolean $blnAddToBeginning Add objects to beginning of array or not
Add objects to the collection