Koha::Template::Plugin::ExtendedAttributeTypes - TT Plugin for retrieving patron attribute types
[% USE ExtendedAttributeTypes %]
[% ExtendedAttributeTypes.all() %]
In a template, you can get the searchable attribute types with the following TT code: [% ExtendedAttributes.all( staff_searchable => 1 ) %]
The function returns the Koha::Patron::Attribute::Type objects
In a template, you can get the searchable attribute type codes with the following TT code: [% ExtendedAttributes.codes( staff_searchable => 1 ) %]
The function returns the Koha::Patron::Attribute::Type codes as an array
Nick Clemens <nick@bywatersolutions.com>