Kyle M Hall
7e10f6fb78
This plugin is meant to be a place to put general purpose TT functions directly related to Koha. If a plugin is not a filter, and does not have more than one subroutine, that subroutine most likely belongs in this TT plugin. This first and only function the plugin currently has is Preference, which allows a template to get the value of a system preference without, it needing to be passed in from a perl script. For example, to use, first include the line '[% USE Koha %]' at the top of the template to enable the plugin, then do something like this to check the value of a system prefence in the template: [% IF Koha.Preference( 'MyPreference ) == 'SettingA' %] ... Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Galen Charlton <gmc@esilibrary.com> |
||
---|---|---|
.. | ||
Borrower | ||
Cache | ||
Filter/MARC | ||
Indexer | ||
Plugins | ||
QueryParser/Driver | ||
RecordProcessor | ||
SearchEngine | ||
SuggestionEngine | ||
Template/Plugin | ||
Authority.pm | ||
Cache.pm | ||
Calendar.pm | ||
DateUtils.pm | ||
Linktracker.pm | ||
Plugins.pm | ||
RecordProcessor.pm | ||
SearchEngine.pm | ||
SuggestionEngine.pm |