public function removeListItem(PermissionAccessEntity $pe)
 {
     parent::removeListItem($pe);
     $db = Loader::db();
     $db->Execute('delete from PagePermissionPageTypeAccessList where peID = ? and paID = ?', array($pe->getAccessEntityID(), $this->getPermissionAccessID()));
     $db->Execute('delete from PagePermissionPageTypeAccessListCustom where peID = ? and paID = ?', array($pe->getAccessEntityID(), $this->getPermissionAccessID()));
 }
示例#2
0
 public function removeListItem(PermissionAccessEntity $pe)
 {
     parent::removeListItem($pe);
     $db = Database::connection();
     $db->executeQuery('delete from PagePermissionPageTypeAccessList where peID = ? and paID = ?', array($pe->getAccessEntityID(), $this->getPermissionAccessID()));
     $db->executeQuery('delete from PagePermissionPageTypeAccessListCustom where peID = ? and paID = ?', array($pe->getAccessEntityID(), $this->getPermissionAccessID()));
 }