Skip to Content Skip to Menu

$mainframe->getPathWay undefined method?

  • mpaler
  • mpaler
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 1
17 years 3 months ago #40099 by mpaler
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?

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum