Hi all,
Using Joomla 1.012. I've got a plugin with the following
[code:1]
function getDisplayTab($tab,$user,$ui) {
global $my, $mainframe;
$pathway =& $mainframe->getPathWay();
print_r( $pathway->getPathWay( true, false ) );
}
[/code:1]
and I'm getting the following error in my browser...
Fatal error: Call to undefined method mosMainFrame::getPathWay() in /var/www...
What's going on here?
Can't I call $mainframe methods from a plugin?