Description
This function lists a cPanel-supported scripting language's available modules.
Warning:
We strongly recommend that you use UAPI instead of cPanel API 2. However, no equivalent UAPI function exists.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
lang |
string |
Required The scripting language's short name. |
A available scripting language on your server. Note: The LangMods::langlistfunction returns possible values.
|
perl |
skip |
integer |
The number of responses to skip at the beginning of the function's output. Use this parameter with the wantparameter to paginate the function's output. This value defaults to 0. |
A positive integer. |
3 |
want |
integer |
The number of responses to return in the function's output. This value defaults to 100. |
A positive integer. |
6 |
regex |
string |
Required A Perl Compatible Regular Expression (PCRE) that filters the results. |
A valid PCRE. |
Lite |
Returns
Return |
Type |
Description |
Possible values |
Example |
info |
string |
Any relevant information about the module. |
A string value. |
sqlite MDB2 driver |
docurl |
string |
The system's homepage. |
A URL. |
http://pear.php.net/package/MDB2_Driver_sqlite/docs |
latest |
string |
The module's latest version. |
A module version number. |
alpha |
installed |
string |
The module's installed version. |
|
1.5.0b4 |
module |
string |
The module's name. |
A module name. |
MDB2_Driver_sqlite |
stable |
string |
The module's stable version. |
A module version number. |
1.5.0b4 |
reason |
string |
A reason for failure. Note: This function only returns areasonvalue if there was an error. |
A string that describes the error. |
This is an error message. |
result |
Boolean |
Whether the function succeeded. |
|
1 |