Mercurial > SimpleWebPresenter
diff filters.inc @ 66:74f7b64bdb78
Lots of documentation fixes, and removal of unused function getXmlContent
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Thu, 11 Oct 2012 22:11:33 +0200 |
| parents | 2cfea6e84694 |
| children | c7de7a4641d7 |
line wrap: on
line diff
--- a/filters.inc Thu Oct 11 20:36:24 2012 +0200 +++ b/filters.inc Thu Oct 11 22:11:33 2012 +0200 @@ -3,6 +3,14 @@ * @file * Filters which may be used from xml */ + +/** + * A configuration function for generating an active status in a list + * item corresponding to the currently active 'name' + * + * @param $input the string to be processed + * @param $options Options for this file + */ function activeNav($input, $options) { $name = $options->getName(); @@ -28,6 +36,13 @@ return $output; } +/** + * A configuration function for generating a language bar. + * + * @param $input the string to be processed + * @param $options Options for this file + * @param $languages array of alternative languages + */ function addLangBar($input, $options, $languages) { $name = $options->getName();
