Beispiel #1
0
 /**
  * Mark this topic as unread for a certain user.
  *
  * @param FrontendUser $supporter The user for whom to mark this topic as unread.
  *
  * @return void
  */
 public function removeSupporter(FrontendUser $supporter)
 {
     $this->setHelpfulCount($this->getHelpfulCount() - 1);
     $this->supporters->detach($supporter);
 }
Beispiel #2
0
 /**
  * Removes a user from this tag
  *
  * @param $feuser FrontendUser
  */
 public function removeFeuser(FrontendUser $feuser)
 {
     $this->feuser->detach($feuser);
 }
Beispiel #3
0
 /**
  * Mark this forum as unread for a certain user.
  *
  * @param FrontendUser $reader The user for whom to mark this forum as unread.
  *
  * @return void
  */
 public function removeReader(FrontendUser $reader)
 {
     $this->readers->detach($reader);
 }
Beispiel #4
0
 /**
  * Removes a subscriber.
  *
  * @param \Mittwald\Typo3Forum\Domain\Model\User\FrontendUser $user The subscriber to be removed.
  */
 public function removeSubscriber(\Mittwald\Typo3Forum\Domain\Model\User\FrontendUser $user)
 {
     $this->subscribers->detach($user);
 }