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
handle_process(array $details, int $status, Participant $participant, bool $notify = true)
Handle process
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.
Details
at line 305
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 319
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 351
array
get_event_questions_answers(array $details, Form $form)
Returns the answers for the event questions
at line 229
Form
get_event_questions_form(int $event_id, int $participant_id, bool $extended = false, Form $form = null)
No description
at line 183
bool
handle_process(array $details, int $status, Participant $participant, bool $notify = true)
Handle process
at line 40
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.
..