示例#1
0
 /**
  * XoopsImageSet constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('imgset_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('imgset_name', XOBJ_DTYPE_TXTBOX, null, true, 50);
     $this->initVar('imgset_refid', XOBJ_DTYPE_INT, 0, false);
 }
示例#2
0
 /**
  * @param      $ctable
  * @param null|array $id
  */
 public function __construct($ctable, $id = null)
 {
     $this->ctable = $ctable;
     $this->db = XoopsDatabaseFactory::getDatabaseConnection();
     parent::__construct();
     $this->initVar('comment_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('item_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('order', XOBJ_DTYPE_INT, null, false);
     $this->initVar('mode', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('subject', XOBJ_DTYPE_TXTBOX, null, false, 255);
     $this->initVar('comment', XOBJ_DTYPE_TXTAREA, null, false, null);
     $this->initVar('ip', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('pid', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('date', XOBJ_DTYPE_INT, null, false);
     $this->initVar('nohtml', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('nosmiley', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('noxcode', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('user_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('icon', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('prefix', XOBJ_DTYPE_OTHER, null, false);
     if (!empty($id)) {
         if (is_array($id)) {
             $this->assignVars($id);
         } else {
             $this->load((int) $id);
         }
     }
 }
示例#3
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('confcat_id', XOBJ_DTYPE_INT, null);
     $this->initVar('confcat_name', XOBJ_DTYPE_OTHER, null);
     $this->initVar('confcat_order', XOBJ_DTYPE_INT, 0);
 }
示例#4
0
 /**
  * Constructor
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('com_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('com_pid', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('com_modid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('com_icon', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('com_title', XOBJ_DTYPE_TXTBOX, null, true, 255, true);
     $this->initVar('com_text', XOBJ_DTYPE_TXTAREA, null, true, null, true);
     $this->initVar('com_created', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('com_modified', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('com_uid', XOBJ_DTYPE_INT, 0, true);
     // Start Add by voltan
     $this->initVar('com_user', XOBJ_DTYPE_TXTBOX, null, false, 60);
     $this->initVar('com_email', XOBJ_DTYPE_TXTBOX, null, false, 60);
     $this->initVar('com_url', XOBJ_DTYPE_TXTBOX, null, false, 60);
     // End Add by voltan
     $this->initVar('com_ip', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('com_sig', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('com_itemid', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('com_rootid', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('com_status', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('com_exparams', XOBJ_DTYPE_OTHER, null, false, 255);
     $this->initVar('dohtml', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('dosmiley', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('doxcode', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('doimage', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('dobr', XOBJ_DTYPE_INT, 0, false);
 }
示例#5
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('confop_id', XOBJ_DTYPE_INT, null);
     $this->initVar('confop_name', XOBJ_DTYPE_TXTBOX, null, true, 255);
     $this->initVar('confop_value', XOBJ_DTYPE_TXTBOX, null, true, 255);
     $this->initVar('conf_id', XOBJ_DTYPE_INT, 0);
 }
示例#6
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('imgsetimg_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('imgsetimg_file', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('imgsetimg_body', XOBJ_DTYPE_SOURCE, null, false);
     $this->initVar('imgsetimg_imgset', XOBJ_DTYPE_INT, null, false);
 }
示例#7
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('gperm_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('gperm_groupid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('gperm_itemid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('gperm_modid', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('gperm_name', XOBJ_DTYPE_OTHER, null, false);
 }
示例#8
0
 /**
  * constructor
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('tplset_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('tplset_name', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('tplset_desc', XOBJ_DTYPE_TXTBOX, null, false, 255);
     $this->initVar('tplset_credits', XOBJ_DTYPE_TXTAREA, null, false);
     $this->initVar('tplset_created', XOBJ_DTYPE_INT, 0, false);
 }
示例#9
0
 /**
  *
  */
 function __construct()
 {
     parent::__construct();
     $this->initVar('id', XOBJ_DTYPE_INT, null, false, 5);
     $this->initVar('code', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('smile_url', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('emotion', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('display', XOBJ_DTYPE_INT, null, false, 1);
 }
示例#10
0
 function __construct()
 {
     parent::__construct();
     $this->initVar("id", XOBJ_DTYPE_INT, null, false);
     $this->initVar("title", XOBJ_DTYPE_TXTBOX, '');
     $this->initVar("created", XOBJ_DTYPE_INT, time());
     $this->initVar("updated", XOBJ_DTYPE_INT, time());
     $this->initVar("uid", XOBJ_DTYPE_INT, 0);
     $this->initVar("url", XOBJ_DTYPE_TXTBOX, '');
 }
示例#11
0
 function __construct()
 {
     parent::__construct();
     $this->initVar('rank_id', XOBJ_DTYPE_INT, null, false, 5);
     $this->initVar('rank_title', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('rank_min', XOBJ_DTYPE_INT, null, false, 8);
     $this->initVar('rank_max', XOBJ_DTYPE_INT, null, false, 8);
     $this->initVar('rank_special', XOBJ_DTYPE_INT, null, false, 1);
     $this->initVar('rank_image', XOBJ_DTYPE_TXTBOX, null, false);
 }
示例#12
0
 /**
  *
  */
 function __construct()
 {
     parent::__construct();
     $this->initVar('bid', XOBJ_DTYPE_INT, null, false, 5);
     $this->initVar('cid', XOBJ_DTYPE_INT, null, false, 5);
     $this->initVar('impressions', XOBJ_DTYPE_INT, null, false, 8);
     $this->initVar('clicks', XOBJ_DTYPE_INT, null, false, 8);
     $this->initVar('datestart', XOBJ_DTYPE_INT, null, false, 10);
     $this->initVar('dateend', XOBJ_DTYPE_INT, null, false, 10);
 }
示例#13
0
 /**
  * Constructor
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('not_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('not_modid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('not_category', XOBJ_DTYPE_TXTBOX, null, false, 30);
     $this->initVar('not_itemid', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('not_event', XOBJ_DTYPE_TXTBOX, null, false, 30);
     $this->initVar('not_uid', XOBJ_DTYPE_INT, 0, true);
     $this->initVar('not_mode', XOBJ_DTYPE_INT, 0, false);
 }
示例#14
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('avatar_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('avatar_file', XOBJ_DTYPE_OTHER, null, false, 30);
     $this->initVar('avatar_name', XOBJ_DTYPE_TXTBOX, null, true, 100);
     $this->initVar('avatar_mimetype', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('avatar_created', XOBJ_DTYPE_INT, null, false);
     $this->initVar('avatar_display', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('avatar_weight', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('avatar_type', XOBJ_DTYPE_OTHER, 0, false);
 }
示例#15
0
 /**
  * constructor
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('msg_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('msg_image', XOBJ_DTYPE_OTHER, null, false, 100);
     $this->initVar('subject', XOBJ_DTYPE_TXTBOX, null, true, 255);
     $this->initVar('from_userid', XOBJ_DTYPE_INT, null, true);
     $this->initVar('to_userid', XOBJ_DTYPE_INT, null, true);
     $this->initVar('msg_time', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('msg_text', XOBJ_DTYPE_TXTAREA, null, true);
     $this->initVar('read_msg', XOBJ_DTYPE_INT, 0, false);
 }
示例#16
0
 function __construct()
 {
     parent::__construct();
     $this->initVar('cid', XOBJ_DTYPE_INT, null, false, 5);
     $this->initVar('name', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('contact', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('email', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('login', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('passwd', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('extrainfo', XOBJ_DTYPE_TXTAREA, null, false);
     // For allow HTML
     //$this->initVar('dohtml', XOBJ_DTYPE_INT, 1, false);
 }
示例#17
0
 /**
  * Constructor
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('image_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('image_name', XOBJ_DTYPE_OTHER, null, false, 30);
     $this->initVar('image_nicename', XOBJ_DTYPE_TXTBOX, null, true, 100);
     $this->initVar('image_mimetype', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('image_created', XOBJ_DTYPE_INT, null, false);
     $this->initVar('image_display', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('image_weight', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('image_body', XOBJ_DTYPE_SOURCE, null, true);
     $this->initVar('imgcat_id', XOBJ_DTYPE_INT, 0, false);
 }
示例#18
0
 /**
  * Constructor
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('imgcat_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('imgcat_name', XOBJ_DTYPE_TXTBOX, null, true, 100);
     $this->initVar('imgcat_display', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('imgcat_weight', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('imgcat_maxsize', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('imgcat_maxwidth', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('imgcat_maxheight', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('imgcat_type', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('imgcat_storetype', XOBJ_DTYPE_OTHER, null, false);
 }
示例#19
0
 /**
  * Constructor
  *
  * @return XoopsTplfile
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('tpl_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('tpl_refid', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('tpl_tplset', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('tpl_file', XOBJ_DTYPE_TXTBOX, null, true, 100);
     $this->initVar('tpl_desc', XOBJ_DTYPE_TXTBOX, null, false, 100);
     $this->initVar('tpl_lastmodified', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('tpl_lastimported', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('tpl_module', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('tpl_type', XOBJ_DTYPE_OTHER, null, false);
     $this->initVar('tpl_source', XOBJ_DTYPE_SOURCE, null, false);
 }
示例#20
0
 /**
  *
  */
 function __construct()
 {
     parent::__construct();
     $this->initVar('bid', XOBJ_DTYPE_INT, null, false, 5);
     $this->initVar('cid', XOBJ_DTYPE_INT, null, false, 3);
     $this->initVar('imptotal', XOBJ_DTYPE_INT, null, false, 8);
     $this->initVar('impmade', XOBJ_DTYPE_INT, null, false, 8);
     $this->initVar('clicks', XOBJ_DTYPE_INT, null, false, 8);
     $this->initVar('imageurl', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('clickurl', XOBJ_DTYPE_TXTBOX, null, false);
     $this->initVar('date', XOBJ_DTYPE_INT, null, false, 10);
     $this->initVar('htmlbanner', XOBJ_DTYPE_INT, null, false, 1);
     $this->initVar('htmlcode', XOBJ_DTYPE_TXTBOX, null, false);
     // For allow HTML
     //$this->initVar( 'dohtml', XOBJ_DTYPE_INT, 1, false);
 }
示例#21
0
 /**
  * PresenterCategories constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('cat_id', XOBJ_DTYPE_INT);
     $this->initVar('cat_pid', XOBJ_DTYPE_INT);
     $this->initVar('cat_title', XOBJ_DTYPE_TXTBOX);
     $this->initVar('cat_desc', XOBJ_DTYPE_TXTAREA);
     $this->initVar('cat_image', XOBJ_DTYPE_TXTBOX);
     $this->initVar('cat_weight', XOBJ_DTYPE_INT);
     //      $this->initVar('cat_color', XOBJ_DTYPE_TXTBOX);
     $this->initVar('dohtml', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('dosmiley', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('doxcode', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('doimage', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('dobr', XOBJ_DTYPE_INT, 1, false);
 }
示例#22
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('mid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('name', XOBJ_DTYPE_TXTBOX, null, true, 150);
     $this->initVar('version', XOBJ_DTYPE_INT, 100, false);
     $this->initVar('last_update', XOBJ_DTYPE_INT, null, false);
     $this->initVar('weight', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('isactive', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('dirname', XOBJ_DTYPE_OTHER, null, true);
     $this->initVar('hasmain', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('hasadmin', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('hassearch', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('hasconfig', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('hascomments', XOBJ_DTYPE_INT, 0, false);
     // RMV-NOTIFY
     $this->initVar('hasnotification', XOBJ_DTYPE_INT, 0, false);
 }
示例#23
0
 /**
  * PresenterSlides constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('slides_id', XOBJ_DTYPE_INT);
     $this->initVar('slides_cid', XOBJ_DTYPE_INT);
     $this->initVar('slides_uid', XOBJ_DTYPE_INT);
     $this->initVar('slides_title', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_content', XOBJ_DTYPE_TXTAREA);
     $this->initVar('css_id', XOBJ_DTYPE_TXTBOX);
     $this->initVar('css_class', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_transition_x', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_transition_y', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_transition_z', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_rotation_x', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_rotation_y', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_rotation_z', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_scale_x', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_scale_y', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_scale_z', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_created', XOBJ_DTYPE_LTIME);
     $this->initVar('slides_published', XOBJ_DTYPE_LTIME);
     $this->initVar('slides_position', XOBJ_DTYPE_INT);
     $this->initVar('slides_online', XOBJ_DTYPE_INT);
     $this->initVar('slides_type', XOBJ_DTYPE_INT);
     $this->initVar('slides_notes', XOBJ_DTYPE_TXTAREA);
     $this->initVar('slides_mp3', XOBJ_DTYPE_TXTBOX);
     $this->initVar('slides_time', XOBJ_DTYPE_INT);
     $this->initVar('slides_status', XOBJ_DTYPE_INT);
     $this->initVar('slides_waiting', XOBJ_DTYPE_INT);
     $this->initVar('slides_online', XOBJ_DTYPE_INT);
     $this->initVar('dohtml', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('dosmiley', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('doxcode', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('doimage', XOBJ_DTYPE_INT, 1, false);
     $this->initVar('dobr', XOBJ_DTYPE_INT, 1, false);
 }
示例#24
0
 /**
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('block_id', XOBJ_DTYPE_INT);
     $this->initVar('module_id', XOBJ_DTYPE_INT);
 }
示例#25
0
 public function __construct()
 {
     parent::__construct();
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_image_set_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
示例#26
0
 /**
  * constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('linkid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('groupid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('uid', XOBJ_DTYPE_INT, null, false);
 }
示例#27
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('key', XOBJ_DTYPE_TXTBOX);
     $this->initVar('data', XOBJ_DTYPE_SOURCE);
     $this->initVar('expires', XOBJ_DTYPE_INT);
 }