Function geoRadios
Create a group of radio button as an HTML string or list, or as an array All radios in 1 group have the same name and different ids
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
string |
$name |
Name of Radio group. Also becomes id, with added index. |
array |
$titles |
An array of $values=>$titles |
string |
$default = null |
Value of selected radio button |
mixed |
$listClass = null |
<p>If this value is supplied: If true, function returns an array of radio buttons. If string, function returns a list with this class.</p> |
string |
$break = null |
<p>Value of HTML between buttons If true, function returns an array of radio buttons.</p> |
string |
$origDefault = null |
Original default value (This item receives the "default" class) |
string |
$inputClass = null |
Each radio input is given this class |
boolean |
$isScale = null |
Causes radiobuttons to be returned inside with "geoScale" class |
array,
|
list or string of rsdio buttons |