<<

NAME

Koha::Config::SysPrefs - Koha System Preference object set class

API

Instance methods

get_pref_files

my $files = Koha::config::SysPrefs->get_pref_files();

Return a hashref containing the list of the yml/pref files in admin/preferences

get_all_from_yml

my $all_sysprefs = Koha::Config::SysPrefs->get_all_from_yml;

Return the system preferences information contained in the yml/pref files The result is cached!

eg. for AcqCreateItem { category_name "Policy", choices { cataloguing "cataloging the record.", ordering "placing an order.", receiving "receiving an order." }, chunks [ [0] "Create an item when", [1] { choices var{choices}, pref "AcqCreateItem" }, [2] "This is only the default behavior, and can be changed per-basket." ], default undef, description [ [0] "Create an item when", [1] "This is only the default behavior, and can be changed per-basket." ], name "AcqCreateItem", tab_id "acquisitions", tab_name "Acquisitions", type "select" }

Class methods

_type

object_class

Missing POD for object_class.

AUTHOR

Kyle M Hall <kyle@bywatersolutions.com>

<<