/**
  * 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;
         }
     }
 }
Exemple #2
0
 /**
  * Sets SQL query parameters (such as sorting),
  * executes parent method parent::Init().
  */
 public function init()
 {
     oxAdminList::init();
 }