* @link http://www.oxidmodule.com */ namespace D3\Modules\AttributeMultiValues\Application\Model; class d3_oxattributelist_multivalues extends d3_oxattributelist_multivalues_parent { /** * Assign data from array to list * * @param array $aData data for list */ public function assignArray($aData) { $this->clear(); if (count($aData)) { $oSaved = clone $this->getBaseObject(); foreach ($aData as $aItem) { $oListObject = clone $oSaved; $this->_assignElement($oListObject, $aItem); $this->_aArray[] = $oListObject; } } } }