doc: add PHP plugin in plugin API reference

v2.8-utf8proc
Sébastien Helleu 2017-09-03 14:53:23 +02:00
parent 23c3288cbe
commit 20f47b9b41
4 changed files with 92 additions and 0 deletions

View File

@ -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.

View File

@ -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.

View File

@ -9657,6 +9657,30 @@ List of signals sent by WeeChat and plugins:
String: comma-separated list of scripts removed. |
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)_ |
@ -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.

View File

@ -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_
リスト文字列に含まれるそれぞれのスクリプトについて、コールバックはスクリプトをリロードして削除します。