Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different instantiation of a module
#1
I see that we have:

PHP Code:
        $modname 'SalesOrder';
        
$module Vtiger_Module::getInstance($modname); 

To get a module instance. But is that (and if so, how) different from

PHP Code:
$so_focus = new SalesOrder(); 
?
Reply


Messages In This Thread
Different instantiation of a module - Guido1982 - 12-13-2016, 12:02 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)