Exemple #1
0
 /**
  * __construct
  * 
  * @param   void
  * 
  * @return  void
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('topic_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('forum_id', XOBJ_DTYPE_INT, '', true);
     $this->initVar('topic_external_link_id', XOBJ_DTYPE_STRING, '', false, 255);
     $this->initVar('topic_title', XOBJ_DTYPE_STRING, '', true, 255);
     $this->initVar('topic_first_uid', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_first_post_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_first_post_time', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_last_uid', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_last_post_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_last_post_time', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_views', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_posts_count', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_locked', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_sticky', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_solved', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_invisible', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_votes_sum', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_votes_count', XOBJ_DTYPE_INT, '', false);
     $this->initVar('status', XOBJ_DTYPE_INT, '', false);
     $this->initVar('posttime', XOBJ_DTYPE_INT, time(), false);
     /*
     	     *		$sql = "SELECT t.*, lp.post_text AS lp_post_text, lp.subject AS lp_subject, lp.icon AS lp_icon,
     		  lp.number_entity AS lp_number_entity, lp.special_entity AS lp_special_entity,
     		  lp.guest_name AS lp_guest_name, fp.subject AS fp_subject, fp.icon AS fp_icon,
     		  fp.number_entity AS fp_number_entity, fp.special_entity AS fp_special_entity,
     		  fp.guest_name AS fp_guest_name, u2t.u2t_time, u2t.u2t_marked, u2t.u2t_rsv FROM "
     */
 }
 /**
  * __construct
  * 
  * @param   void
  * 
  * @return  void
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('history_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('post_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('history_time', XOBJ_DTYPE_INT, '', false);
     $this->initVar('data', XOBJ_DTYPE_TEXT, '', false);
     $this->initVar('posttime', XOBJ_DTYPE_INT, time(), false);
 }
 /**
  * __construct
  * 
  * @param   void
  * 
  * @return  void
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('permit_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('forum_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('uid', XOBJ_DTYPE_INT, '', false);
     $this->initVar('groupid', XOBJ_DTYPE_INT, '', false);
     $this->initVar('permissions', XOBJ_DTYPE_TEXT, '', false);
     //atrace(); die;
 }
 /**
  * __construct
  * 
  * @param   void
  * 
  * @return  void
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('uid', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('u2t_time', XOBJ_DTYPE_INT, '', false);
     $this->initVar('u2t_marked', XOBJ_DTYPE_INT, '', false);
     $this->initVar('u2t_rsv', XOBJ_DTYPE_INT, '', false);
     $this->initVar('posttime', XOBJ_DTYPE_INT, time(), false);
 }
 /**
  * __construct
  * 
  * @param   void
  * 
  * @return  void
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('vote_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('post_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('uid', XOBJ_DTYPE_INT, '', false);
     $this->initVar('vote_point', XOBJ_DTYPE_INT, '', false);
     $this->initVar('vote_time', XOBJ_DTYPE_INT, '', false);
     $this->initVar('vote_ip', XOBJ_DTYPE_INT, '', false);
     $this->initVar('posttime', XOBJ_DTYPE_INT, time(), false);
 }
Exemple #6
0
 /**
  * __construct
  * 
  * @param   void
  * 
  * @return  void
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('forum_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('category_id', XOBJ_DTYPE_INT, '', true);
     $this->initVar('forum_external_link_format', XOBJ_DTYPE_STRING, '', false, 255);
     $this->initVar('forum_title', XOBJ_DTYPE_STRING, '', true, 255);
     $this->initVar('forum_desc', XOBJ_DTYPE_TEXT, '', false);
     $this->initVar('forum_topics_count', XOBJ_DTYPE_INT, '', false);
     $this->initVar('forum_posts_count', XOBJ_DTYPE_INT, '', false);
     $this->initVar('forum_last_post_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('forum_last_post_time', XOBJ_DTYPE_INT, '', false);
     $this->initVar('forum_weight', XOBJ_DTYPE_INT, '', false);
     $this->initVar('forum_options', XOBJ_DTYPE_TEXT, '', false);
     $this->initVar('status', XOBJ_DTYPE_INT, '', false);
     // additional
     //$this->initVar('bit_new', XOBJ_DTYPE_INT, 0, false);
     //$this->initVar('posttime', XOBJ_DTYPE_INT, time(), false);
 }
Exemple #7
0
 /**
  * __construct
  * 
  * @param   void
  * 
  * @return  void
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('post_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('pid', XOBJ_DTYPE_INT, '', false);
     $this->initVar('topic_id', XOBJ_DTYPE_INT, '', false);
     $this->initVar('post_time', XOBJ_DTYPE_INT, time(), false);
     $this->initVar('modified_time', XOBJ_DTYPE_INT, '', false);
     $this->initVar('uid', XOBJ_DTYPE_INT, '', false);
     $this->initVar('uid_hidden', XOBJ_DTYPE_INT, '', false);
     $this->initVar('poster_ip', XOBJ_DTYPE_STRING, '', false, 15);
     $this->initVar('modifier_ip', XOBJ_DTYPE_STRING, '', false, 15);
     $this->initVar('subject', XOBJ_DTYPE_STRING, '', true, 255);
     $this->initVar('subject_waiting', XOBJ_DTYPE_STRING, '', false, 255);
     $this->initVar('html', XOBJ_DTYPE_INT, '', false);
     $this->initVar('smiley', XOBJ_DTYPE_INT, '', false);
     $this->initVar('xcode', XOBJ_DTYPE_INT, '', false);
     $this->initVar('br', XOBJ_DTYPE_INT, '', false);
     $this->initVar('number_entity', XOBJ_DTYPE_INT, '', false);
     $this->initVar('special_entity', XOBJ_DTYPE_INT, '', false);
     $this->initVar('icon', XOBJ_DTYPE_INT, '', false);
     $this->initVar('attachsig', XOBJ_DTYPE_INT, '', false);
     $this->initVar('invisible', XOBJ_DTYPE_INT, '', false);
     $this->initVar('approval', XOBJ_DTYPE_INT, '', false);
     $this->initVar('votes_sum', XOBJ_DTYPE_INT, '', false);
     $this->initVar('votes_count', XOBJ_DTYPE_INT, '', false);
     $this->initVar('depth_in_tree', XOBJ_DTYPE_INT, '', false);
     $this->initVar('order_in_tree', XOBJ_DTYPE_INT, '', false);
     $this->initVar('path_in_tree', XOBJ_DTYPE_STRING, '', false, 255);
     $this->initVar('unique_path', XOBJ_DTYPE_STRING, '', false, 255);
     $this->initVar('guest_name', XOBJ_DTYPE_STRING, '', false, 25);
     $this->initVar('guest_email', XOBJ_DTYPE_STRING, '', false, 60);
     $this->initVar('guest_url', XOBJ_DTYPE_STRING, '', false, 100);
     $this->initVar('guest_pass_md5', XOBJ_DTYPE_STRING, '', false, 40);
     $this->initVar('guest_trip', XOBJ_DTYPE_STRING, '', false, 40);
     $this->initVar('post_text', XOBJ_DTYPE_TEXT, '', true);
     $this->initVar('post_text_waiting', XOBJ_DTYPE_STRING, '', false, 0);
     $this->initVar('status', XOBJ_DTYPE_INT, '', false);
     $this->initVar('posttime', XOBJ_DTYPE_INT, time(), false);
     //$this->initVar('forum_id', XOBJ_DTYPE_INT, '', false);
 }