1
Hi all. I am trying to develop my first module in XOOPS and have encounted some questions in using xoops_version.php.
Below is part of my config setting:
....
$modversion['config'][2]['name'] = 'test_status';
$modversion['config'][2]['title'] = 'test_status';
$modversion['config'][2]['description'] = '';
$modversion['config'][2]['formtype'] = 'select';
$modversion['config'][2]['valuetype'] = 'text';
$modversion['config'][2]['default'] = 'status1';
$modversion['config'][2]['options'] = array(1 => 'status1', 2 => 'status2', 3 => 'status3');
...
Now I have no idea how to get my options array out.
. I noticed there is a similar setting in News modules($modversion['config'][1]['options'] in News modules' xoops_version.php), but failed to find out where this setting is used. could someone give me a hint for this? thanks in advance. PS: sorry for my English.