コード例 #1
0
ファイル: votes.common.class.php プロジェクト: umaxfun/x4m
 static function getInstance($front_call = null)
 {
     if (!self::$instance) {
         self::$instance = new votes_module_common($front_call);
     }
     return self::$instance;
 }
コード例 #2
0
ファイル: votes.back.class.php プロジェクト: umaxfun/x4m
 function common_call($front_call = null)
 {
     $this->_module_name = 'votes';
     $this->_common_obj = votes_module_common::getInstance();
     $this->_tree = $this->_common_obj->obj_tree;
 }
コード例 #3
0
ファイル: votes.front.class.php プロジェクト: umaxfun/x4m
 function votes_module_front()
 {
     $this->_module_name = 'votes';
     $this->_common_obj =& votes_module_common::getInstance(true);
     $this->_tree =& $this->_common_obj->obj_tree;
 }