/** * Tries to fetch and set next record number in DB. Returns true on success * * @param string $sMaxField field name where record number is stored * @param array $aWhere (optional) shop filter add SQL string * @param int $iMaxTryCnt (optional) max number of tryouts * * @return bool */ protected function _setRecordNumber($sMaxField, $aWhere = null, $iMaxTryCnt = 5) { /*if ( !$myConfig->blMallUsers ) { $sShopID = $myConfig->getShopId(); $aWhere = array(" {$this->getViewName()}.oxshopid = '$sShopID' "); }*/ return parent::_setRecordNumber($sMaxField, $aWhere, $iMaxTryCnt); }