Example #1
0
 static function getInstance($front_call = null)
 {
     if (!self::$instance) {
         self::$instance = new banners_module_common($front_call);
     }
     return self::$instance;
 }
Example #2
0
 function common_call($front_call = null)
 {
     $this->_module_name = 'banners';
     $this->_common_obj =& banners_module_common::getInstance();
     $this->_tree =& $this->_common_obj->obj_tree;
 }