New answers tagged

3

For starters, perhaps just an oversight on bringing your code to the JSE platform here, but... $menuTable = JTable::getInstance('Menu', 'JTable', array()); You are passing in an empty array. $newMenu = new stdClass(); $newMenu->title="blah"; $newMenu->type="component"; etc Then you can do: $menuTable = JTable::getInstance('...


Top 50 recent answers are included