Пример #1
0
	function XsnsFriendHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsFriend";
		$this->table_name = "c_friend";
		$this->primary_key = "c_friend_id";
	}
Пример #2
0
	function XsnsModuleConfigHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsModuleConfig";
		$this->table_name = "c_mypage_config";
		$this->primary_key = "config_id";
	}
Пример #3
0
	function XsnsIntroductionHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsIntroduction";
		$this->table_name = "c_mypage_introduction";
		$this->primary_key = "c_intro_id";
	}
Пример #4
0
	function XsnsCategoryParentHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsCategoryParent";
		$this->table_name = "c_commu_category_parent";
		$this->primary_key = "c_commu_category_parent_id";
	}
Пример #5
0
	function XsnsFootprintHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsFootprint";
		$this->table_name = "c_mypage_footprint";
		$this->primary_key = "c_footprint_id";
	}
Пример #6
0
	function XsnsTopicCommentHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsTopicComment";
		$this->table_name = "c_commu_topic_comment";
		$this->primary_key = "c_commu_topic_comment_id";
	}
Пример #7
0
	function XsnsConfirmHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsConfirm";
		$this->table_name = "c_commu_confirm";
		$this->primary_key = "c_commu_confirm_id";
	}
Пример #8
0
	function XsnsMemberHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsMember";
		$this->table_name = "c_commu_member";
		$this->primary_key = "c_commu_member_id";
	}
Пример #9
0
	function XsnsAccessLogHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsAccessLog";
		$this->table_name = "c_commu_access_log";
		$this->primary_key = "c_access_log_id";
		
		$this->handler = array(
			'community' => XsnsCommunityHandler::getInstance(),
			'user' => XsnsUserHandler::getInstance(),
		);
	}
Пример #10
0
	function XsnsCategoryHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsCategory";
		$this->table_name = "c_commu_category";
		$this->primary_key = "c_commu_category_id";
		
		$this->handler = array(
			'cat_parent' => XsnsCategoryParentHandler::getInstance(),
			'community' => XsnsCommunityHandler::getInstance(),
		);
	}
Пример #11
0
	function XsnsImageHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsImage";
		$this->table_name = "c_image";
		$this->primary_key = "c_image_id";
		
		if(isset($this->module_config['file_upload_path'])){
			$this->upload_dir = $this->module_config['file_upload_path'];
			$this->dir_exists = is_dir($this->upload_dir) ? true : false;
		}
		else{
			$this->dir_exists = false;
		}
		
		if(isset($this->module_config['image_form_limit'])){
			$this->setFormLimit($this->module_config['image_form_limit']);
		}
		
		$this->handler['session'] =& XsnsSessionHandler::getInstance();
	}
Пример #12
0
	function XsnsCommunityHandler()
	{
		parent::XsnsRootHandler();
		$this->obj_class = "XsnsCommunity";
		$this->table_name = "c_commu";
		$this->primary_key = "c_commu_id";
	}