-
- Downloads
Create a class to represent the current state of an input.
The main advantages to this are that * it makes the code more readable, and autocomplete of field names works; * we can have PHPdocs on the class, which explain what the values mean; * PHP can catch and report more meaninful errors.
Showing
- doc/en/Developer/Development_track.md 0 additions, 1 deletiondoc/en/Developer/Development_track.md
- question.php 9 additions, 30 deletionsquestion.php
- renderer.php 3 additions, 7 deletionsrenderer.php
- stack/input/inputbase.class.php 13 additions, 8 deletionsstack/input/inputbase.class.php
- stack/input/inputstate.class.php 73 additions, 0 deletionsstack/input/inputstate.class.php
- stack/input/simpletest/test.algebraic.class.php 8 additions, 8 deletionsstack/input/simpletest/test.algebraic.class.php
- stack/input/simpletest/test.boolean.class.php 6 additions, 6 deletionsstack/input/simpletest/test.boolean.class.php
- stack/input/simpletest/test.inputstate.class.php 48 additions, 0 deletionsstack/input/simpletest/test.inputstate.class.php
Loading
Please register or sign in to comment