- Code: Select all
function{name
Calls the function called name with the option record as parameter to produce the HTML for the option.
$installer->add_config("'4270', 'left_text', 'VERANDA.TTF', 'function{fontFiles', 'menu_conf_top'")
Can we pass a value to the function?
For simplicities sake I'd like to be able to use the same config function twice, and have it update the select list based on the menu item thats calling the function.
IE
- Code: Select all
$installer->add_config("'1320','guild_suspend_group','0','function{getForumList(guild_suspend_group)','nuke_menu_guild'");
$installer->add_config("'1430','guild_protected_group','0','function{getForumList(guild_protected_group)','nuke_menu_create'");
Then my function could make changes based on the menu item that called it.
-Vlorn