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); } }
function load($name = '') { if ($name != 'settings') { $this->name = ''; $this->params = ''; return true; } else { return parent::load($name); } }
function __construct() { parent::__construct('#__xipt_profilefields', 'id'); }
/** * 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; }
function __construct() { parent::__construct('#__xipt_jstoolbar', 'id'); }
function __construct() { //userid is ker of xipt_users table parent::__construct('#__xipt_users', 'userid'); }
function __construct() { parent::__construct('#__xipt_applications', 'id'); }