X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fprefs%2Fuserprefs.inc;h=50fa0a8811e1b5cf3a32a220dcae1179ff0a1746;hb=e7b078084252dbcb1fd1051ed0114804ed68b0e1;hp=93f941807bc40143a16205270a8805eb6895259f;hpb=b42c1c9bab4d4b210be10523582c4c1b06a9b4e1;p=fa-stable.git diff --git a/includes/prefs/userprefs.inc b/includes/prefs/userprefs.inc index 93f94180..50fa0a88 100644 --- a/includes/prefs/userprefs.inc +++ b/includes/prefs/userprefs.inc @@ -84,7 +84,32 @@ class user_prefs } } } - + + function get_all() + { + return array( + 'language' => $this->language, + 'qty_dec' => $this->qty_dec, + 'prices_dec' => $this->price_dec, + 'rates_dec' => $this->exrate_dec, + 'percent_dec' => $this->percent_dec, + 'show_gl' => $this->show_gl_info, + 'show_codes' => $this->show_codes, + 'date_format' =>$this->date_format, + 'date_sep' => $this->date_sep, + 'tho_sep' => $this->tho_sep, + 'dec_sep' => $this->dec_sep, + 'theme' => $this->theme, + 'page_size' => $this->pagesize, + 'show_hints' => $this->show_hints, + 'print_profile' => $this->print_profile, + 'rep_popup' => $this->rep_popup, + 'query_size' => $this->query_size, + 'graphic_links' => $this->graphic_links, + 'sticky_doc_date' => $this->sticky_date, + 'startup_tab' => $this->startup_tab); + } + function language() { return $this->language;