/** * Apply current data to user data * @return e_user_pref */ public function apply() { $data = $this->hasData() ? $this->toString(true) : ''; $this->_user->set('user_prefs', $data); return $this; }