Search:

# CWIS Developers Documentation

- Main Page
- Classes
- Files

- 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_ADD" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00024         "EVENT_RESOURCE_DELETE" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00025         "EVENT_PRE_FIELD_EDIT_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00026         "EVENT_POST_FIELD_EDIT_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00027         "EVENT_FIELD_DISPLAY_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00028         # --- Resource Display Events
    00029         "EVENT_DISPLAY_RESOURCE_FIELD" => ApplicationFramework::EVENTTYPE_CHAIN,
    00030         # --- User Interface Events
    00031         "EVENT_IN_HTML_HEADER" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00032         "EVENT_COLLECTION_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00033         "EVENT_USER_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00034         "EVENT_SYSTEM_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00035         "EVENT_SYSTEM_INFO_LIST" => ApplicationFramework::EVENTTYPE_NAMED,
    00036         "EVENT_MODIFY_PRIMARY_NAV" => ApplicationFramework::EVENTTYPE_CHAIN,
    00037         "EVENT_MODIFY_SECONDARY_NAV" => ApplicationFramework::EVENTTYPE_CHAIN,
    00038         "EVENT_APPEND_HTML_TO_FORM" => ApplicationFramework::EVENTTYPE_CHAIN,
    00039         "EVENT_VALIDATE_USER_COMMENT" => ApplicationFramework::EVENTTYPE_FIRST,
    00040         "EVENT_URL_FIELD_CLICK" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00041         "EVENT_FULL_RECORD_VIEW" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00042         # --- Other Events
    00043         "EVENT_OAIPMH_REQUEST" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00044         ));
    00045
    00046 ?>