/** * Returns count of users assigned to active newsletter receiver group * * @return int */ public function getUserCount() { $iCnt = oxRegistry::getSession()->getVariable("iUserCount"); if ($iCnt === null) { $iCnt = parent::getUserCount(); oxRegistry::getSession()->setVariable("iUserCount", $iCnt); } return $iCnt; }
/** * Returns count of users assigned to active newsletter receiver group * * @return int */ public function getUserCount() { $iCnt = oxSession::getVar("iUserCount"); if ($iCnt === null) { $iCnt = parent::getUserCount(); oxSession::setVar("iUserCount", $iCnt); } return $iCnt; }