Exemple #1
0
 function load($id)
 {
     if ($id == 0) {
         $this->id = 0;
         $this->name = '';
         $this->tip = '';
         $this->ordering = true;
         $this->published = true;
         $this->ordering = 0;
         $this->privacy = '';
         $this->template = "default";
         $this->jusertype = "Registered";
         $this->allowt = false;
         $this->avatar = DEFAULT_AVATAR;
         $this->watermark = "";
         $this->approve = false;
         $this->group = 0;
         $this->params = '';
         $this->watermarkparams = '';
         $this->visible = 1;
         $this->config = '';
         return true;
     } else {
         return parent::load($id);
     }
 }
Exemple #2
0
 function load($name = '')
 {
     if ($name != 'settings') {
         $this->name = '';
         $this->params = '';
         return true;
     } else {
         return parent::load($name);
     }
 }
 function __construct()
 {
     parent::__construct('#__xipt_profilefields', 'id');
 }
Exemple #4
0
 /**
  * Overrides Joomla's JTable store method so that we can define proper values
  * upon saving a new entry
  * 
  * @return boolean true on success
  **/
 function store()
 {
     parent::store();
     return $this->id;
 }
Exemple #5
0
 function __construct()
 {
     parent::__construct('#__xipt_jstoolbar', 'id');
 }
Exemple #6
0
 function __construct()
 {
     //userid is ker of xipt_users table
     parent::__construct('#__xipt_users', 'userid');
 }
Exemple #7
0
 function __construct()
 {
     parent::__construct('#__xipt_applications', 'id');
 }