Source for file RadioList.php
Documentation is available at RadioList.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 6: * Copyright (c) 2004, 2009 David Grudl (http://davidgrudl.com)
- 7: *
- 8: * This source file is subject to the "Nette license" that is bundled
- 9: * with this package in the file license.txt.
- 10: *
- 11: * For more information please see https://nette.org
- 12: *
- 19: */
- 27: /**
- 28: * Set of radio button controls.
- 29: *
- 33: */
- 35: {
- 47: /**
- 50: */
- 52: {
- 58: }
- 62: /**
- 63: * Returns selected radio value.
- 66: */
- 68: {
- 70: }
- 74: /**
- 75: * Sets options from which to choose.
- 78: */
- 80: {
- 83: }
- 87: /**
- 74: /**
- 75: * Returns options from which to choose.
- 90: */
- 92: {
- 94: }
- 98: /**
- 99: * Returns separator HTML element template.
- 101: */
- 103: {
- 105: }
- 109: /**
- 110: * Returns container HTML element template.
- 112: */
- 114: {
- 116: }
- 120: /**
- 121: * Generates control's HTML element.
- 124: */
- 126: {
- 133: }
- 153: }
- 157: }
- 160: // TODO: separator after last item?
- 161: }
- 164: }
- 168: /**
- 169: * Generates label's HTML element.
- 171: */
- 173: {
- 177: }
- 181: /**
- 182: * Filled validator: has been any radio button selected?
- 185: */
- 187: {
- 189: }
- 191: }