Search:

# CWIS Developers Documentation

- Main Page
- Classes
- Files

- Search for |

- File List
- File Members

# Events.php

Go to the documentation of this file.

    00001 <?PHP
    00002
    00003 # ----- HOOKABLE CWIS EVENTS
    00004 # (Only the events covered in the Developer Documentation have been implemented.)
    00005 $AF->RegisterEvent(array(
    00006         # --- User Events
    00007         "EVENT_USER_ADDED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00008         "EVENT_USER_VERIFIED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00009         "EVENT_USER_DELETED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00010         "EVENT_USER_LOGIN" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00011         "EVENT_USER_LOGIN_RETURN" => ApplicationFramework::EVENTTYPE_CHAIN,
    00012         "EVENT_USER_LOGOUT" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00013         "EVENT_USER_LOGOUT_RETURN" => ApplicationFramework::EVENTTYPE_CHAIN,
    00014         "EVENT_USER_PASSWORD_CHANGED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00015         "EVENT_USER_EMAIL_CHANGED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00016         "EVENT_USER_AUTHENTICATION" => ApplicationFramework::EVENTTYPE_FIRST,
    00017         # --- Search Events
    00018         "EVENT_KEYWORD_SEARCH" => ApplicationFramework::EVENTTYPE_CHAIN,
    00019         "EVENT_FIELDED_SEARCH" => ApplicationFramework::EVENTTYPE_CHAIN,
    00020         "EVENT_SEARCH_RESULTS" => ApplicationFramework::EVENTTYPE_CHAIN,
    00021         "EVENT_SEARCH_COMPLETE" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00022         # --- Resource Editing Events
    00023         "EVENT_RESOURCE_ADDED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00024         "EVENT_RESOURCE_DELETED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00025         "EVENT_RESOURCE_DUPLICATED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00026         "EVENT_RESOURCE_MODIFIED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00027         "EVENT_FIELD_MODIFIED" => ApplicationFramework::EVENTTYPE_CHAIN,
    00028         "EVENT_PRE_FIELD_EDIT_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00029         "EVENT_POST_FIELD_EDIT_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00030         "EVENT_FIELD_DISPLAY_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00031         # --- Resource Display Events
    00032         "EVENT_DISPLAY_RESOURCE_FIELD" => ApplicationFramework::EVENTTYPE_CHAIN,
    00033         # --- User Interface Events
    00034         "EVENT_IN_HTML_HEADER" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00035         "EVENT_COLLECTION_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00036         "EVENT_USER_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00037         "EVENT_SYSTEM_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00038         # --- Other Events
    00039         "EVENT_OAIPMH_REQUEST" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00040         ));
    00041
    00042 ?>