Koha::Template::Plugin::AuthorisedValues - TT Plugin for authorised values
[% USE AuthorisedValues %]
[% AuthorisedValues.GetByCode( 'CATEGORY', 'AUTHORISED_VALUE_CODE', 'IS_OPAC' ) %]
[% AuthorisedValues.GetAuthValueDropbox( $category, $default ) %]
In a template, you can get the description for an authorised value with the following TT code: [% AuthorisedValues.GetByCode( 'CATEGORY', 'AUTHORISED_VALUE_CODE', 'IS_OPAC' ) %]
The parameters are identical to those used by the subroutine C4::Koha::GetAuthValueDropbox
The parameters are identical to those used by the subroutine Koha::AuthorisedValues->get_descriptions_by_koha_field
The parameters are identical to those used by the subroutine Koha::AuthorisedValues->get_description_by_koha_field
Kyle M Hall <kyle@bywatersolutions.com>
Jonathan Druart <jonathan.druart@biblibre.com>