.pdf)
WHM Plugins
| API Version: | 1 - Click here for documentation |
|---|---|
| Syntax: | StatManager::doForm( ) |
| Description: | Display an HTML table that contains domains associated with the cPanel account and lists stat programs enabled for the account's domains. |
| Returns: | |
The output will contain a chunk of HTML that contains the table.
|
| API Version: | 1 - Click here for documentation |
|---|---|
| Syntax: | StatManager::updateUserConfig( ) |
| Description: | Enable or disable a stats program for a specific domain. |
| Form Data: | |
| STATSPROGRAM-DOMAIN.COM (string) | |
| This form-data should be titled with the stats program and domain in all capital letters. That data is then followed by an equals sign (=) and either 'yes' or 'no' (e.g., WEBALIZER-EXAMPLE.COM=yes, ANALOG-EXAMPLE.COM=no, AWSTATS-EXAMPLE.COM=yes). | |
| Returns: | |
This function does not produce any output.
|