.pdf)
WHM Plugins
| API Version: | 1 - Click here for documentation |
|---|---|
| Syntax: | NVData::set( name, value, nocache ) |
| Description: | Set an NVData variable. This function saves a file in /home/$user/.cpanel/nvdata with the contents of $value. This variable can be retrieved using other NVData functions. |
| Parameters: | |
| name (string) | |
| The variable name to save. | |
| value (string) | |
| The value to save in $name. | |
| nocache (boolean) | |
| Passing 1 to this parameter causes the function not to save the value in NVData's cache. | |
| Returns: | |
This function does not produce any output if it is successful.
|