![]() |
![]()
| ![]() |
![]()
OpenXPKI::Template::Plugin::ProfilePlugin for Template::Toolkit to retrieve properties of a profile definition. All methods require the profile name as first and (where useful) the style as second argument. How to useYou need to load the plugin into your template before using it. As we do not export the methods, you need to address them with the plugin name, e.g. [% USE Profile %] [% Profile.name(cert_profile) %] Will output the verbose label of the referenced profile. name(cert_profile)Return the verbose name of the certificate profile, this is the string found at profile.<cert_profile.label>. If no label is set, the name of the profile is returned. style(cert_profile, cert_style)Return the verbose name of the certificate style. Returns the style name if no label is set. description(cert_profile, cert_style)Return the verbose description of certificate style.
|