loadTotalBySessionId($sessionId); $callbacks = array(); if ($mapperCb = $this->_parseCallback($this->getVar('mapper'), 'mapRow')) { $callbacks[] = $mapperCb; } if ($adapterCb = $this->_parseCallback($this->getVar('adapter'), 'saveRow')) { $callbacks[] = $adapterCb; } $callbacks[] = array($this, 'updateProgress'); echo $this->_getProgressBarHtml($sessionId, $total['cnt']); Mage::getModel('core/resource_iterator') ->walk($import->select($sessionId), $callbacks); } protected function _getProgressBarHtml($sessionId, $totalRows) { return '