Path in the Gestor bibliotecas/plugins-consts.php
Constants shared by the plugin installer. Each one is only defined if it does not exist yet.
Exit codes
| Constant | Value | Label (plg_exit_code_label()) |
|---|---|---|
PLG_EXIT_OK |
0 | OK |
PLG_EXIT_PARAMS_OR_FILE |
10 | PARAMS_OR_FILE: invalid parameter or missing file |
PLG_EXIT_VALIDATE |
11 | VALIDATE: invalid plugin manifest |
PLG_EXIT_MOVE |
12 | MOVE: failed to move to the final folder |
PLG_EXIT_DOWNLOAD |
20 | DOWNLOAD |
PLG_EXIT_ZIP_INVALID |
21 | ZIP_INVALID |
PLG_EXIT_CHECKSUM |
22 | CHECKSUM: the package SHA-256 does not match |
Any other code returns UNKNOWN.
Execution states
PLG_STATUS_IDLE (idle), PLG_STATUS_INSTALANDO (instalando), PLG_STATUS_ATUALIZANDO (atualizando), PLG_STATUS_ERRO (erro) and PLG_STATUS_OK (ok), stored in the status_execucao column of the plugins table.
Functions
Generated from gestor/bibliotecas/plugins-consts.php · 1 functions
plg_exit_code_label
view source · line 68 ↗plg_exit_code_label(int $code): stringParameters
$codeint
Returns