/** * Sets SQL query parameters (such as sorting), * executes parent method parent::Init(). * * @return null */ public function init() { parent::init(); // set mark for blacklists foreach ($this->getItemList() as $sId => $oUser) { if ($oUser->inGroup("oxidblacklist") || $oUser->inGroup("oxidblocked")) { $oUser->blacklist = "1"; } $oUser->blPreventDelete = false; if (!$this->_allowAdminEdit($sId)) { $oUser->blPreventDelete = true; } } }
/** * Sets SQL query parameters (such as sorting), * executes parent method parent::Init(). */ public function init() { oxAdminList::init(); }