Function geoList
Create HTML list or array of lists
Package: Geolib
License: Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
Author: Peter Pitchford peter@geotonics.com
Located at geoFunctions.php
License: Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
Author: Peter Pitchford peter@geotonics.com
Located at geoFunctions.php
array |
$lists = null |
<p>1 or 2 dimensional array A 2 dimensional array will result in a list for each array. To have ids for each list item, make item keys non integer, such as "item_3"</p> |
string |
$class = null |
<p>List Class or classes If lists is multidemensional: If class is a string, it becomes the class for all lists. If class is an array, each row is a class for 1 list If lists is not multidementional If class is a string, class is a list class. If class is an array, each row becomes a class for 1 list item</p> |
string |
$id = null |
List id |
integer |
$cols = 1 |
Number of columns. Break $lists into one list for each column |
array |
$itemClasses = null |
Array of classes for each list item |
string |
$style = null |
List Style |
string |
$lt = 'ul' |
List type (either ul or ol) Default is ul |
array |
$itemStyles = null |
Array of styles for each list item |
array |
$listItemIds = null |
Array of ids for each list item |
HTML
|
List tag |