function content_module_front() { $this->_module_name = 'content'; //true так как front_call $this->_common_obj =& content_module_common::getInstance(true); $this->_tree =& $this->_common_obj->obj_tree; }
static function getInstance($front_call = null) { if (!self::$instance) { self::$instance = new content_module_common($front_call); } return self::$instance; }
function common_call($front_call = null) { $this->_module_name = 'content'; $this->_common_obj =& content_module_common::getInstance(); $this->_tree =& $this->_common_obj->obj_tree; }