RegistrationAction
class RegistrationAction
Properties
EventplannerController | $mod |
Methods
int
calc_max_accompanying_persons(array $details, Participant $participant = null)
If max_participants is set in the event, the participant plus accompanying persons may not be bigger than max_participants
int
calc_max_company(int $max_company, array $details, Participant $participant = null)
Calculates how many persons can accompany a participant taking max_participants into account.
array
get_event_questions_form(int $event_id, int $participant_id, bool $extended = false, Form $form = null)
No description
bool
Participant|bool
register_for_event(int $event_id, mixed $user, array|string|bool $answers = false, bool $validate = true, int $status = USER_EVENT_STATUS_PARTICIPATING, bool $notify = true, int $accompanying_persons = 0, array $details = array())
put your comment there.
bool
unregister_from_event($event_id, $email, bool $notify = true, bool $delete_participant = false, bool $user_id = false)
No description
Details
at line 328
int
calc_max_accompanying_persons(array $details, Participant $participant = null)
If max_participants is set in the event, the participant plus accompanying persons may not be bigger than max_participants
at line 342
int
calc_max_company(int $max_company, array $details, Participant $participant = null)
Calculates how many persons can accompany a participant taking max_participants into account.
at line 374
array
get_event_questions_answers(array $details, Form $form)
Returns the answers for the event questions
at line 253
Form
get_event_questions_form(int $event_id, int $participant_id, bool $extended = false, Form $form = null)
No description
at line 182
bool
handle_process(array $details, int $status, Participant $participant, bool $notify)
Handle process
at line 39
Participant|bool
register_for_event(int $event_id, mixed $user, array|string|bool $answers = false, bool $validate = true, int $status = USER_EVENT_STATUS_PARTICIPATING, bool $notify = true, int $accompanying_persons = 0, array $details = array())
put your comment there.
..
at line 229
bool
unregister_from_event($event_id, $email, bool $notify = true, bool $delete_participant = false, bool $user_id = false)
No description