Source for file SelectBox.php
Documentation is available at SelectBox.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 11: */
- 15: /**
- 16: * Select box control that allows single item selection.
- 17: *
- 20: *
- 25: */
- 27: {
- 42: /**
- 46: */
- 48: {
- 56: }
- 57: }
- 61: /**
- 62: * Returns selected item key.
- 64: */
- 66: {
- 70: }
- 73: }
- 77: /**
- 78: * Returns selected item key (not checked).
- 80: */
- 82: {
- 84: }
- 88: /**
- 89: * Ignores the first item in select box.
- 92: */
- 94: {
- 102: }
- 103: }
- 105: }
- 109: /**
- 110: * Is first item in select box ignored?
- 112: */
- 114: {
- 116: }
- 120: /**
- 121: * Are the keys used?
- 123: */
- 125: {
- 127: }
- 131: /**
- 132: * Sets items from which to choose.
- 135: */
- 137: {
- 145: }
- 151: }
- 153: }
- 157: }
- 160: }
- 161: }
- 163: }
- 167: /**
- 168: * Returns items from which to choose.
- 170: */
- 172: {
- 174: }
- 178: /**
- 179: * Returns selected value.
- 181: */
- 183: {
- 190: }
- 191: }
- 195: /**
- 196: * Generates control's HTML element.
- 198: */
- 200: {
- 213: }
- 224: }
- 225: }
- 226: }
- 228: }
- 232: /**
- 233: * Filled validator: has been any item selected?
- 236: */
- 238: {
- 241: }
- 243: }