This translation is older than the original page and might be outdated. See what has changed.
Translations of this page?:

イベントのリファレンス一覧

以下は、動作プラグイン向けに DokuWiki のイベントシステムによって実装されているすべてのイベントの一覧となります。

新しいプラグインを書く場合は、必ずイベントの追加時期をチェックしてください。いくつかは DokuWiki の最近の開発版だけでしか利用できないかもしれません。

イベント名説明動作抑制可能追加時期
ACTION_ACT_PREPROCESSHandling ?do= actionsyes2006-04-25
ACTION_EXPORT_POSTPROCESSpostprocess the output of a page requested for exportno2008-08-28
ACTION_HANDLE_SUBSCRIBEhandle, process & generate data for a subscribe requestyes2010-01-20
ACTION_HEADERS_SENDmodify the HTTP headers sent by Dokuwikiyes2006-04-25
ACTION_SHOW_REDIRECTintercept redirects after postsyes2008-10-26
AJAX_CALL_UNKNOWNHandle AJAX callsyes2006-08-09
AUTH_LOGIN_CHECKintercept requests before authenticationyes2009-03-13
AUTH_USER_CHANGEIntercept user data modifications before they are sent to the auth backendyes2008-08-17
COMMON_NOTIFY_ADDRESSLISTManipulate the address list for a subscription mail notification after an edityes2010-01-20
COMMON_PAGETPL_LOADenhance or replace namespace templatesyes2011-02-03
COMMON_PAGE_FROMTEMPLATEenhance or replace namespace templatesyes2010-03-10
COMMON_WORDBLOCK_BLOCKEDIntercept wordblockyes2008-10-12
DOKUWIKI_DONErun some code after DokuWiki finished all its processingno2006-04-25
DOKUWIKI_STARTEDDokuWiki prepares to do its workno2006-04-25
FEED_DATA_PROCESSProcess the feed data into feed itemsyes2009-11-10
FEED_ITEM_ADDManipulate RSS feed itemsyes2007-07-18
FEED_MODE_UNKNOWNAn unknown feed mode was requestedyes2009-11-10
FEED_OPTS_POSTPROCESSCan modify the parameters for the feed creationno2009-11-10
FETCH_MEDIA_STATUShandles status codes when downloading a media resourceyes2010-02-23
FULLTEXT_SNIPPET_CREATESearch result snippet creationyes2009-10-26
HTML_CONFLICTFORM_OUTPUTmodify the conflict handling HTMLno2007-07-30
HTML_DRAFTFORM_OUTPUTmodify the draft recovery HTMLno2007-07-30
HTML_EDITFORM_OUTPUTmodify the edit form HTMLno2007-07-30
HTML_EDIT_FORMSELECTIONadd elements to edit forms for editing the given wikitextyes2010-01-19
HTML_LOGINFORM_OUTPUTmodify the login form HTMLno2007-07-30
HTML_PAGE_FROMTEMPLATEreplace namespace templates functionalityyes2006-09-16
HTML_RECENTFORM_OUTPUTmodify the recent changes HTMLno2008-10-12
HTML_REGISTERFORM_OUTPUTmodify the register form HTMLno2007-07-30
HTML_RESENDPWDFORM_OUTPUTmodify the resend password HTMLno2007-07-30
HTML_REVISIONSFORM_OUTPUTmodify the old revisions HTMLno2008-10-12
HTML_SECEDIT_BUTTONprepares section edit button data for event triggering used as a callback in html_secedityes2010-11-07
HTML_SUBSCRIBEFORM_OUTPUTmodify the subscribe form HTMLno2010-01-20
HTML_UPDATEPROFILEFORM_OUTPUTmodify the update profile HTMLno2007-07-30
HTML_UPLOADFORM_OUTPUTmodify the uploadform HTMLno2008-10-29
HTTPCLIENT_REQUEST_SENDrewrite outgoing HTTP(s) requestsyes2009-03-13
INDEXER_PAGE_ADDmanipulate the full text indexing processyes2007-02-27
INDEXER_TASKS_RUNrun custom "Cron jobs"yes2008-02-26
INDEXER_TEXT_PREPAREPage tokenizing (aka. splitting the text into separate words)yes2011-03-19
INDEXER_VERSION_GETConstruct the version number of the indexerno2011-03-06
IO_NAMESPACE_CREATEDcatch namespace creationsno2006-07-05
IO_NAMESPACE_DELETEDcatch namespace deletionsno2006-07-05
IO_WIKIPAGE_READintercept reading the raw wiki text datano2006-07-05
IO_WIKIPAGE_WRITEintercept page writesno2006-07-05
MAIL_MESSAGE_SENDmanage mail sending from DokuWikiyes2007-09-30
MEDIAMANAGER_CONTENT_OUTPUTWraps the output of the (right) content pane in the Media Manageryes2009-08-30
MEDIAMANAGER_STARTEDThe media manager prepares to do its workno2008-12-10
MEDIA_DELETE_FILEIntercept file deletionyes2008-10-01
MEDIA_SENDFILEmanipulate media file downloads from the wikiyes2008-06-23
MEDIA_UPLOAD_FINISHexecute an action file uploadsyes2007-09-09
PARSER_CACHE_USEmanipulate the cache validityyes2006-09-16
PARSER_HANDLER_DONEfinalize instruction datano2006-05-22
PARSER_METADATA_RENDERmanipulate metadatayes2006-11-26
PARSER_WIKITEXT_PREPROCESSmanipulate raw wiki textno2006-07-24
PLUGIN_CONFIG_PLUGINLISTAllow modification of the plugin list used by the config pluginno2009-01-19
PLUGIN_PLUGINMANAGER_PLUGINLISTAllow modification of the plugin list used by the config pluginno2009-01-19
RENDERER_CONTENT_POSTPROCESSPostprocess renderer outputno2006-07-24
SEARCH_QUERY_FULLPAGEFilter/reorder search resultsyes2008-08-11
SEARCH_QUERY_PAGELOOKUPFilter/reorder search resultsyes2008-08-11
SITEMAP_GENERATEGenerate a sitemap XML file from sitemap itemsyes2010-11-12
SITEMAP_PINGPing search engines with the sitemap URLyes2010-11-12
TOOLBAR_DEFINEAdd buttons to the toolbaryes2007-02-27
TPL_ACT_RENDEROutput XHTML before and/or after a pageyes2006-04-25
TPL_ACT_UNKNOWNOutput XHTML in the main DokuWiki windowyes2006-04-25
TPL_CONTENT_DISPLAYPost process the XHTML outputyes2006-04-25
TPL_IMG_DISPLAYThe image output on an image detail pageyes2010-06-26
TPL_METAHEADER_OUTPUTManipulate meta headersyes2006-09-16
TPL_TOC_RENDERPre-/postprocess the TOCno2008-08-30
XMLRPC_CALLBACK_REGISTERAdd XMLRPC callbacksyes2008-08-24

命名体系

イベント名は以下のような標準的な構造に従います。

<場所>_<イベントデータ>_<動作および状態>
  • <場所> — イベントを発生させる DokuWiki のファイルを識別するための短縮名もしくはヒント。
  • <イベントデータ> — イベントによって渡されるデータを識別するための短縮名もしくはヒント。
  • <動作および状態> — イベントがデフォルトのアクションを持っている場合は、そのアクションが何なのかを示します。デフォルトアクションが無い場合は、状態もしくはその他の理由を示します。

例:

  • PARSER_HANDLER_DONE
    • イベントは parser スクリプトの中で発生し、
    • イベントデータは handler オブジェクトであり、
    • デフォルトアクションは無く、ハンドラの段階でパーサの状態は done (完了) である。すなわち、ハンドラはその処理を完了している。
  • ACTION_HEADERS_SEND
    • イベントは actions.php の中で発生し、
    • イベントデータは headers (ヘッダ) の配列であり、
    • デフォルトアクションはそのヘッダを send (送信) することである。
ja/devel/events_list.txt · 最終更新: 2010/01/08 14:38 by kazmiya
 
特に明示されていない限り、本Wikiの内容は次のライセンスに従います: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate