/** * Checks whether a front-end user is already registered for this seminar. * * This method must not be called when no front-end user is logged in! * * @param tx_seminars_seminar $seminar a seminar for which we'll check if it is possible to register * * @return bool TRUE if user is already registered, FALSE otherwise. */ public function isUserRegistered(tx_seminars_seminar $seminar) { return $seminar->isUserRegistered($this->getFeUserUid()); }
/** * Checks whether a front-end user is already registered for this seminar. * * This method must not be called when no front-end user is logged in! * * @param tx_seminars_seminar $seminar a seminar for which we'll check if it is possible to register * * @return bool TRUE if user is already registered, FALSE otherwise. */ public function isUserRegistered(tx_seminars_seminar $seminar) { return $seminar->isUserRegistered($this->getLoggedInFrontEndUserUid()); }