Description Usage Arguments See Also Examples
Set package parameter
1 |
param |
parameter to set. An error would be thrown if parameter is not registered. |
value |
value to set the parameter to |
package |
package of the parameter (NULL if running from a package) |
register_param, get_param
1 2 3 4 5 6 | register_param('param1', 'tgconfig')
set_param('param1', 'value1', 'tgconfig')
get_param('param1', 'tgconfig')
# try to set a parameter that doesn't exist
# set_param('other_param', 'tgconfig') # would thorw an error
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.