Plugin functions
提供: GeeklogJpWiki
Geeklog共通ライブラリ⇒ COM_functions |DB_functions |plugin_functions |CUSTOM_functions |ADMIN_functions |CMT_functions |SEC_functions |USER_functions |MBYTE_functions |PNB_functions |SESS_functions |STORY_functions |SYND_functions |TRB_functions |WS_functions
PLUGIN/functions.inc
「はじめに」 plugins/xxx/functions.incには,Geeklogのネーミングルールに沿った関数が必要に応じて含まれます。プラグインを記述する関数
Geeklog1.7.0
| 関数名 | 概要 |
|---|---|
| PLG_afterSaveSwitch | 何かを保存した後にユーザーをある画面に誘導する |
| plugin_abortsave_xxx | 保存を停止 |
| plugin_autotags_xxx | 自動タグ |
| plugin_autouninstall_xxx | プラグインアンインストール処理 |
| plugin_cclabel_xxx | プラグインオプションを付与する |
| plugin_centerblock_xxx | サイトの中央部にブロックを表示 |
| plugin_checkforSpam_xxx | スパム投稿をチェック |
| plugin_chkVersion_xxx | 現在インストールされているバージョンを返す |
| plugin_commentPreSave_xxx | プラグインにコメントの先処理を許可する |
| plugin_deletecomment_xxx | コメントを削除する |
| plugin_displaycomment_xxx | コメントを表示する |
| plugin_dopluginsearch_xxx | プラグインが検索機能を使えるようにする |
| plugin_enablestatechange_xxx | プラグインが使えるようになるのかを知らせる |
| plugin_feedElementExtensions_xxx | フィードの拡張タグを取得 |
| plugin_feedExtensionTags_xxx | フィードのmetaタグエクステンションを取得 |
| plugin_feedNSExtensions_xxx | フィードのXML名前空間要素を通知 |
| plugin_feedupdatecheck_xxx | リンクされたフィードが更新されているかチェックする |
| plugin_getadminoption_xxx | ブロック管理者専用メニュー用リンク |
| plugin_getBlocks_xxx | プラグインのGeeklogブロックを取得 |
| plugin_getcommenturlid_xxx | コメントページのURLと新しいコメントIDを取得する |
| plugin_getfeedcontent_xxx | feedのコンテンツを取得 |
| plugin_getfeednames_xxx | feedのリストを要求 |
| plugin_getheadercode_xxx | サイトの<head>タグに行を追加 |
| plugin_geticon_xxx | プラグインのアイコンのURLを返す |
| plugin_getiteminfo_xxx | アイテムの情報を取得 |
| plugin_getListField_xxx | 一覧表表示HTMLを返す |
| plugin_getmenuitems_xxx | ヘッダメニュ |
| plugin_getuseroption_vxxx | ユーザーオプションブロックを表示 |
| plugin_getwhatsnew_xxx | 新着情報ブロック新エントリを返す |
| plugin_group_changed_xxx | グループの変更を知らせる |
| plugin_handlepingoperation_xxx | |
| plugin_install_xxx | プラグインにプラグイン自身をインストールよう命令する。 |
| plugin_ismoderator_xxx | ユーザにモデレータの権利があるかをチェック |
| plugin_itemdisplay_xxx | アイテムを表示 |
| plugin_itemPreSave_xxx | プラグインにアイテムの先処理を許可する |
| plugin_itemsaved_xxx | アイテムを保存 |
| plugin_moderationapprove_xxx | 承認待ちアイテムを承認 |
| plugin_moderationdelete_xxx | 承認待ちアイテムを削除 |
| plugin_moderationvalues_xxx | モデレーションページで表示したいテーブル要素のリストを返す。 |
| plugin_profileblocksdisplay_xxx | ユーザの個人情報を表示する際に表示したい追加ブロックのHTMLを返す |
| plugin_profileblocksedit_xxx | ユーザ個人情報の編集で個人情報編集フォームブロック用のHTMLを返す |
| plugin_profileextrassave_xxx | プロフィールで追加された独自の変数やブロックを取得・保存 |
| plugin_profilevariablesdisplay_xxx | ユーザ個人情報を表示する際に個人情報に独自の変数を追加する |
| plugin_profilevariablesedit_xxx | ユーザ個人情報の編集でユーザIDと編集画面への参照が渡される |
| plugin_runScheduledTask_xxx | 定期的にあるタスクを実行させる |
| plugin_savecomment_xxx | コメントを保存する |
| plugin_savesubmission_xxx | 投稿を保存 |
| plugin_searchtypes_xxx | 検索ドロップダウンボックスを使用できるようにする。 |
| plugin_showstats_xxx | statsを見せる |
| plugin_spamaction_xxx | スパム検知後のアクション |
| plugin_statssummary_xxx | statsのサマリー |
| plugin_submissioncount_xxx | プラグインに投稿待ちがあるかをチェック |
| plugin_submit_xxx | プラグインの投稿フォームを表示 |
| plugin_supportsexpandedsearch_xxx | 拡張検索結果機能をプラグインがサポートしているか判定 |
| plugin_templatesetvars_xxx | テンプレート変数を追加 |
| plugin_uninstall_xxx | プラグインアンインストール処理(1.5.0よりplugin_autouninstall_xxxが追加されました。) |
| plugin_upgrade_xxx | プラグイン更新処理 |
| plugin_user_changed_xxx | ユーザー情報の変更を知らせる |
| plugin_user_create_xxx | 新規ユーザアカウントが作成されると呼び出される |
| plugin_user_delete_xxx | ユーザアカウントが削除されると呼び出される |
| plugin_user_login_xxx | ユーザーログインを知らせる |
| plugin_user_logout_xxx | ユーザーログアウトを知らせる |
| plugin_whatsnewsupported_xxx | 新着情報ブロックに自身のセクションを追加 |
| plugin_wsEnabled_xxx | webservicesをサポートしているかチェック |
| service_$action_xxx | サービスを依頼 |