Module:SetGlobalOptionsFunction(func)
Set the function to be called that will return a tuple of key-value pairs that will be merged onto the options table for the module options.
Parameters
- func
- function to call
Usage
MyModule:SetGlobalOptionsFunction(function(self) return 'someOption', { name = "Some option", } -- etc end)
Facts
- Date created
- 03 Jan 2009
- Last updated
- 05 Apr 2009