Gets the specified setting (filtering, sorting, paging) from the global array of parameters.
function setFSP ($cmd)
A string value with a command that specifies the setting to be applied. Supported are the following commands:
A boolean which is true if the specified setting has been applied successfully, false otherwise. If one passes in false as a command, the function returns true.
This function looks for the specified setting in the global array of parameters passed to a script via GET, POST, or COOKIE HTML method:
In case the passed in command is not recognized, Plesk throws an error message.
One may need to define a custom command if the derived class is extended with new properties that should be read from the global array of parameters. It is important that all new commands are registered in the isCMDSupported method. Also, every command triggers a special member function that reads the global parameter and puts the obtained value to the matching class member variable. The code of the overloaded method can look as follows:
static function setFSP($cmd)
psaerror('Command not found:'.$cmd);