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         "EVENT_USER_SIGNUP_VERIFY"  => ApplicationFramework::EVENTTYPE_CHAIN,
    00018         "EVENT_USER_SIGNUP_EXTEND_ERROR_LIST" => ApplicationFramework::EVENTTYPE_CHAIN,
    00019         # --- Search Events
    00020         "EVENT_KEYWORD_SEARCH" => ApplicationFramework::EVENTTYPE_CHAIN,
    00021         "EVENT_FIELDED_SEARCH" => ApplicationFramework::EVENTTYPE_CHAIN,
    00022         "EVENT_SEARCH_RESULTS" => ApplicationFramework::EVENTTYPE_CHAIN,
    00023         "EVENT_SEARCH_COMPLETE" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00024         "EVENT_SEARCH_EXTERNAL" => ApplicationFramework::EVENTTYPE_NAMED,
    00025         # --- Resource Editing Events
    00026         "EVENT_RESOURCE_CREATE" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00027         "EVENT_RESOURCE_ADD" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00028         "EVENT_RESOURCE_DELETE" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00029         "EVENT_RESOURCE_FILE_ADD" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00030         "EVENT_RESOURCE_FILE_DELETE" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00031         "EVENT_PRE_FIELD_EDIT_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00032         "EVENT_POST_FIELD_EDIT_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00033         "EVENT_FIELD_DISPLAY_FILTER" => ApplicationFramework::EVENTTYPE_CHAIN,
    00034         "EVENT_APPEND_HTML_TO_FIELD_DISPLAY" => ApplicationFramework::EVENTTYPE_CHAIN,
    00035         # --- Metadata Editing Events
    00036         "EVENT_CNAME_REMAPPED" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00037         # --- User Interface Events
    00038         "EVENT_IN_HTML_HEADER" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00039         "EVENT_REQUEST_SIDEBAR_CONTENT" => ApplicationFramework::EVENTTYPE_NAMED,
    00040         "EVENT_COLLECTION_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00041         "EVENT_USER_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00042         "EVENT_SYSTEM_ADMINISTRATION_MENU" => ApplicationFramework::EVENTTYPE_NAMED,
    00043         "EVENT_SYSTEM_INFO_LIST" => ApplicationFramework::EVENTTYPE_NAMED,
    00044         "EVENT_MODIFY_PRIMARY_NAV" => ApplicationFramework::EVENTTYPE_CHAIN,
    00045         "EVENT_MODIFY_SECONDARY_NAV" => ApplicationFramework::EVENTTYPE_CHAIN,
    00046         "EVENT_APPEND_HTML_TO_FORM" => ApplicationFramework::EVENTTYPE_CHAIN,
    00047         "EVENT_VALIDATE_USER_COMMENT" => ApplicationFramework::EVENTTYPE_FIRST,
    00048         "EVENT_URL_FIELD_CLICK" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00049         "EVENT_FULL_RECORD_VIEW" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00050         # --- Other Events
    00051         "EVENT_OAIPMH_REQUEST" => ApplicationFramework::EVENTTYPE_DEFAULT,
    00052         ));