comparison 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
comparison
equal deleted inserted replaced
65:7b87ec8b0842 66:74f7b64bdb78
1 <?php 1 <?php
2 /** 2 /**
3 * @file 3 * @file
4 * Filters which may be used from xml 4 * Filters which may be used from xml
5 */
6
7 /**
8 * A configuration function for generating an active status in a list
9 * item corresponding to the currently active 'name'
10 *
11 * @param $input the string to be processed
12 * @param $options Options for this file
5 */ 13 */
6 function activeNav($input, $options) 14 function activeNav($input, $options)
7 { 15 {
8 $name = $options->getName(); 16 $name = $options->getName();
9 if (!$name) 17 if (!$name)
26 $output); 34 $output);
27 35
28 return $output; 36 return $output;
29 } 37 }
30 38
39 /**
40 * A configuration function for generating a language bar.
41 *
42 * @param $input the string to be processed
43 * @param $options Options for this file
44 * @param $languages array of alternative languages
45 */
31 function addLangBar($input, $options, $languages) 46 function addLangBar($input, $options, $languages)
32 { 47 {
33 $name = $options->getName(); 48 $name = $options->getName();
34 $lang = $options->getLang(); 49 $lang = $options->getLang();
35 $langbar='<ul id="language-select">'; 50 $langbar='<ul id="language-select">';