equal
deleted
inserted
replaced
1014 |
1014 |
1015 raise out_of_band.AccessViolation(message_fmt=DEF_PAGE_INACTIVE_MSG) |
1015 raise out_of_band.AccessViolation(message_fmt=DEF_PAGE_INACTIVE_MSG) |
1016 |
1016 |
1017 @allowDeveloper |
1017 @allowDeveloper |
1018 @denySidebar |
1018 @denySidebar |
1019 def checkIsAfterEvent(self, django_args, event_name, key_name_arg): |
1019 def checkIsAfterEvent(self, django_args, event_name, |
|
1020 key_name_arg, program_logic): |
1020 """Checks if the given event has taken place for the given program. |
1021 """Checks if the given event has taken place for the given program. |
1021 |
1022 |
1022 Args: |
1023 Args: |
1023 django_args: a dictionary with django's arguments |
1024 django_args: a dictionary with django's arguments |
1024 event_name: the name of the event which is checked |
1025 event_name: the name of the event which is checked |
1025 key_name_arg: the entry in django_args that specifies the given program |
1026 key_name_arg: the entry in django_args that specifies the given program |
1026 keyname. If none is given the key_name is constructed from django_args |
1027 keyname. If none is given the key_name is constructed from django_args |
1027 itself. |
1028 itself. |
|
1029 program_logic: Program Logic instance |
1028 |
1030 |
1029 Raises: |
1031 Raises: |
1030 AccessViolationResponse: |
1032 AccessViolationResponse: |
1031 * if no active Program is found |
1033 * if no active Program is found |
1032 * if the event has not taken place yet |
1034 * if the event has not taken place yet |