Unclassified NewsBoard Code Reference

UnbPluginMeta function

Store meta data of a plug-in

function UnbPluginMeta ($desc, $key = 'desc');

Parameters:

desc
(string) value to store
key  –  optional, default: 'desc'
(string) key to store value into, default is "desc"

Remarks:

Common keys are:
desc: General description of the plug-in
author: Author's name and e-mail
lang: Space-separated list of supported languages
version: Required UNB version to run this plug-in, format (BNF): <min version> " " <max version>
Multiple ranges can be defined.
file: Additional files used by the plug-in that don't have the same basename

If more then one value is assigned to a key, all values are concatenated in a separate line.

Implementation file: unb_lib/plugin.lib.php, line 166

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.