-
- Downloads
Replace $forbiddenkeys with a stack_cas_security-object in input-validation
and use it to spread the knowledge about units in the question. Also include logic to automatically declare units at the question variables should any units inputs or tests be present in the question.
Showing
- question.php 48 additions, 11 deletionsquestion.php
- stack/input/dropdown/dropdown.class.php 4 additions, 5 deletionsstack/input/dropdown/dropdown.class.php
- stack/input/equiv/equiv.class.php 4 additions, 6 deletionsstack/input/equiv/equiv.class.php
- stack/input/inputbase.class.php 21 additions, 24 deletionsstack/input/inputbase.class.php
- stack/input/matrix/matrix.class.php 4 additions, 5 deletionsstack/input/matrix/matrix.class.php
- stack/input/notes/notes.class.php 2 additions, 2 deletionsstack/input/notes/notes.class.php
- stack/input/units/units.class.php 0 additions, 5 deletionsstack/input/units/units.class.php
- stack/potentialresponsenode.class.php 7 additions, 0 deletionsstack/potentialresponsenode.class.php
- stack/potentialresponsetree.class.php 12 additions, 0 deletionsstack/potentialresponsetree.class.php
- tests/input_algebraic_test.php 53 additions, 53 deletionstests/input_algebraic_test.php
- tests/input_boolean_rendering_test.php 1 addition, 0 deletionstests/input_boolean_rendering_test.php
- tests/input_boolean_validation_test.php 8 additions, 7 deletionstests/input_boolean_validation_test.php
- tests/input_checkbox_test.php 8 additions, 8 deletionstests/input_checkbox_test.php
- tests/input_dropdown_exception_test.php 1 addition, 1 deletiontests/input_dropdown_exception_test.php
- tests/input_dropdown_test.php 4 additions, 4 deletionstests/input_dropdown_test.php
- tests/input_equiv_test.php 37 additions, 37 deletionstests/input_equiv_test.php
- tests/input_matrix_test.php 7 additions, 7 deletionstests/input_matrix_test.php
- tests/input_numerical_test.php 43 additions, 43 deletionstests/input_numerical_test.php
- tests/input_radio_test.php 3 additions, 3 deletionstests/input_radio_test.php
- tests/input_singlechar_validation_test.php 4 additions, 3 deletionstests/input_singlechar_validation_test.php
Loading
Please register or sign in to comment