diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-03 14:53:23 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-09-03 15:34:30 +0200 |
commit | 20f47b9b4114d83901b57ff60e918dfd4a6c1508 (patch) | |
tree | c3957e034545c95ab01eec3a5cfba4db55d3d59c | |
parent | 23c3288cbe173960638a12cc6f88bcbba7379ed5 (diff) | |
download | weechat-20f47b9b4114d83901b57ff60e918dfd4a6c1508.zip |
doc: add PHP plugin in plugin API reference
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 22 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.adoc | 22 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.adoc | 26 | ||||
-rw-r--r-- | doc/ja/weechat_plugin_api.ja.adoc | 22 |
4 files changed, 92 insertions, 0 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 8c59bdb94..1811f9aea 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -9349,6 +9349,26 @@ List of signals sent by WeeChat and plugins: String: comma-separated list of scripts removed. | Perl script(s) removed. +| php | php_script_loaded + + _(WeeChat ≥ 2.0)_ | + String: path to script. | + PHP script loaded. + +| php | php_script_unloaded + + _(WeeChat ≥ 2.0)_ | + String: path to script. | + PHP script unloaded. + +| php | php_script_installed + + _(WeeChat ≥ 2.0)_ | + String: comma-separated list of paths to scripts installed. | + PHP script(s) installed. + +| php | php_script_removed + + _(WeeChat ≥ 2.0)_ | + String: comma-separated list of scripts removed. | + PHP script(s) removed. + | python | python_script_loaded + _(WeeChat ≥ 0.3.9)_ | String: path to script. | @@ -9903,6 +9923,7 @@ Five signals can be sent to install a script, according to language: * _tcl_script_install_ * _guile_script_install_ * _javascript_script_install_ +* _php_script_install_ The callback will do following actions when receiving signal: @@ -9945,6 +9966,7 @@ Five signals can be sent to remove list of scripts, according to language: * _tcl_script_remove_ * _guile_script_remove_ * _javascript_script_remove_ +* _php_script_remove_ For each script in list, the callback will unload then remove script. diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 5333f3683..29f83e742 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -9533,6 +9533,26 @@ Liste des signaux envoyés par WeeChat et les extensions : Chaîne : liste de scripts supprimés (séparés par des virgules). | Script(s) perl supprimé(s). +| php | php_script_loaded + + _(WeeChat ≥ 2.0)_ | + Chaîne : chemin vers le script. | + Script PHP chargé. + +| php | php_script_unloaded + + _(WeeChat ≥ 2.0)_ | + Chaîne : chemin vers le script. | + Script PHP déchargé. + +| php | php_script_installed + + _(WeeChat ≥ 2.0)_ | + Chaîne : liste de chemins vers scripts installés (séparés par des virgules). | + Script(s) PHP installé(s). + +| php | php_script_removed + + _(WeeChat ≥ 2.0)_ | + Chaîne : liste de scripts supprimés (séparés par des virgules). | + Script(s) PHP supprimé(s). + | python | python_script_loaded + _(WeeChat ≥ 0.3.9)_ | Chaîne : chemin vers le script. | @@ -10089,6 +10109,7 @@ Cinq signaux peuvent être envoyés pour installer un script, selon le langage * _tcl_script_install_ * _guile_script_install_ * _javascript_script_install_ +* _php_script_install_ La fonction de rappel effectuera les actions suivantes lorsqu'elle recevra le signal : @@ -10135,6 +10156,7 @@ langage : * _tcl_script_remove_ * _guile_script_remove_ * _javascript_script_remove_ +* _php_script_remove_ Pour chaque script dans la liste, la fonction de rappel déchargera et supprimera le script. diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 942c61593..581a4d2a3 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -9658,6 +9658,30 @@ List of signals sent by WeeChat and plugins: Perl script(s) removed. // TRANSLATION MISSING +| php | php_script_loaded + + _(WeeChat ≥ 2.0)_ | + String: path to script. | + PHP script loaded. + +// TRANSLATION MISSING +| php | php_script_unloaded + + _(WeeChat ≥ 2.0)_ | + String: path to script. | + PHP script unloaded. + +// TRANSLATION MISSING +| php | php_script_installed + + _(WeeChat ≥ 2.0)_ | + String: comma-separated list of paths to scripts installed. | + PHP script(s) installed. + +// TRANSLATION MISSING +| php | php_script_removed + + _(WeeChat ≥ 2.0)_ | + String: comma-separated list of scripts removed. | + PHP script(s) removed. + +// TRANSLATION MISSING | python | python_script_loaded + _(WeeChat ≥ 0.3.9)_ | String: path to script. | @@ -10271,6 +10295,7 @@ del linguaggio: * _tcl_script_install_ * _guile_script_install_ * _javascript_script_install_ +* _php_script_install_ La callback compirà le seguenti azioni alla ricezione del segnale: @@ -10318,6 +10343,7 @@ seconda del linguaggio: * _tcl_script_remove_ * _guile_script_remove_ * _javascript_script_remove_ +* _php_script_remove_ Per ogni script nella lista, la callback scaricherà e rimuoverà lo script. diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index a9ac45f9a..deef5ba4a 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -9355,6 +9355,26 @@ WeeChat とプラグインが送信するシグナルのリスト: String: 削除されたスクリプトへのパスのコンマ区切りリスト | Perl スクリプトを削除 +| php | php_script_loaded + + _(WeeChat バージョン 2.0 以上で利用可)_ | + String: スクリプトへのパス | + PHP スクリプトをロード + +| php | php_script_unloaded + + _(WeeChat バージョン 2.0 以上で利用可)_ | + String: スクリプトへのパス | + PHP スクリプトをリロード + +| php | php_script_installed + + _(WeeChat バージョン 2.0 以上で利用可)_ | + String: インストールされたスクリプトへのパスのコンマ区切りリスト | + PHP スクリプトをインストール + +| php | php_script_removed + + _(WeeChat バージョン 2.0 以上で利用可)_ | + String: 削除されたスクリプトへのパスのコンマ区切りリスト | + PHP スクリプトを削除 + | python | python_script_loaded + _(WeeChat バージョン 0.3.9 以上で利用可)_ | String: スクリプトへのパス | @@ -9910,6 +9930,7 @@ weechat.hook_signal_send("logger_backlog", weechat.WEECHAT_HOOK_SIGNAL_POINTER, * _tcl_script_install_ * _guile_script_install_ * _javascript_script_install_ +* _php_script_install_ シグナルを受け取ったらコールバックは以下のように働きます: @@ -9952,6 +9973,7 @@ weechat.hook_signal_send("python_script_install", WEECHAT_HOOK_SIGNAL_STRING, * _tcl_script_remove_ * _guile_script_remove_ * _javascript_script_remove_ +* _php_script_remove_ リスト文字列に含まれるそれぞれのスクリプトについて、コールバックはスクリプトをリロードして削除します。 |