/** * Checks whether a front-end user is already blocked during the time for a given event by other booked events. * * For this, only events that forbid multiple registrations are checked. * * @param tx_seminars_seminar $seminar a seminar for which we'll check whether the user already is blocked by an other seminars * * @return bool TRUE if user is blocked by another registration, FALSE otherwise */ private function isUserBlocked(tx_seminars_seminar $seminar) { return $seminar->isUserBlocked($this->getFeUserUid()); }
/** * Checks whether a front-end user is already blocked during the time for a given event by other booked events. * * For this, only events that forbid multiple registrations are checked. * * @param tx_seminars_seminar $seminar a seminar for which we'll check whether the user already is blocked by an other seminars * * @return bool TRUE if user is blocked by another registration, FALSE otherwise */ private function isUserBlocked(tx_seminars_seminar $seminar) { return $seminar->isUserBlocked($this->getLoggedInFrontEndUserUid()); }