示例#1
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);
 }
示例#2
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);
 }
示例#3
0
 /**
  * constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('groupid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('name', XOBJ_DTYPE_TXTBOX, null, true, 100);
     $this->initVar('description', XOBJ_DTYPE_TXTAREA, null, false);
     $this->initVar('group_type', XOBJ_DTYPE_OTHER, null, false);
 }
示例#4
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);
 }
示例#5
0
 /**
  * Constructor
  *
  */
 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);
 }
示例#6
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);
 }
示例#7
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);
 }
示例#8
0
 /**
  * constructor
  **/
 public function __construct()
 {
     parent::__construct();
     $this->initVar('msg_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('msg_image', XOBJ_DTYPE_OTHER, 'icon1.gif', 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);
 }
示例#9
0
 /**
  * Constructor for avatar class, initializing all the properties of the class object
  *
  */
 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);
 }
示例#10
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);
 }
示例#11
0
 /**
  * constructor
  */
 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);
 }
示例#12
0
 /**
  * Constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->initVar('imgcat_id', XOBJ_DTYPE_INT, null, false);
     $this->initVar('imgcat_pid', XOBJ_DTYPE_INT, null, false);
     $this->initVar('imgcat_name', XOBJ_DTYPE_TXTBOX, null, true, 100);
     $this->initVar('imgcat_foldername', 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);
 }
示例#13
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);
     $this->initVar('dbversion', XOBJ_DTYPE_INT, 0, false);
     $this->initVar('modname', XOBJ_DTYPE_OTHER, null, true);
     $this->initVar('ipf', XOBJ_DTYPE_INT, 0, false);
 }
示例#14
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);
     $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);
 }
示例#15
0
 public function XoopsObject()
 {
     parent::__construct();
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_core_Object', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }
示例#16
0
 /**
  * add an error
  *
  * @param string $value error to add
  * @access public
  */
 public function setErrors($err_str, $prefix = false)
 {
     if (is_array($err_str)) {
         foreach ($err_str as $str) {
             $this->setErrors($str, $prefix);
         }
     } else {
         if ($prefix) {
             $err_str = "[" . $prefix . "] " . $err_str;
         }
         parent::setErrors($err_str);
     }
 }