Conn2Flow
Docs navigation

Reference / Libraries

plugins-consts.php library

Exit codes and execution states of the plugin installer, and plg_exit_code_label().

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

1 of 1

The Future is Hybrid: Human + AI.

Conn2Flow is the tool. If you need the Architect to design your company's strategy using this technology...

Hire Specialized Consulting