Пример #1
0
 public function isAllowed()
 {
     return parent::isAllowed() && $this->threadChatRights && $this->threadChatRights->canEditPages;
 }
Пример #2
0
 public function isAllowed()
 {
     return parent::isAllowed() && $this->boardRights && $this->boardRights->canStickThreads;
 }
Пример #3
0
 public function isAllowed()
 {
     return parent::isAllowed() && ($this->boardRights && $this->boardRights->canBan) || $this->threadChatRights && $this->threadChatRights->canBan;
 }