Ejemplo n.º 1
0
 /**
  * global get_instance method
  */
 function &get_instance()
 {
     $instance =& Tron::get_instance();
     // If Tron not initialized yet, build a mock
     if (is_null($instance)) {
         $instance = new stdClass();
         $instance->load = new Tron('undefined');
     }
     return $instance;
 }
Ejemplo n.º 2
0
 /**
  * global get_instance method
  */
 function &get_instance()
 {
     $instance =& Tron::get_instance();
     return $instance;
 }