set Function

Sets the value of the specified param or creates a new param on the module, or service if specified.

Summary

ElementFunction
ReturnsBoolean

Arguments

nameString[required] The name of the param.
serviceBoolean[required] Bypass the module and modify or create the param on the service.

Example

$this->service->set('example','Hello World');
CodeMessageLineFile
2count(): Parameter must be an array or an object that implements Countable224/home2/ptorg/public_html/pagetype/content/pages/en/docml.viewer.php