Closed MestourBS closed 4 years ago
Note: Likely contains some missing things
All controllers:
$error
$this->form_validation->error_string()
validation_errors()
form_input()
form_label()
$value ?? $default
isset($value)
for
foreach
array_search()
add()
getNbQuestion()
clozeTextPdf()
login()
form_add_topic()
form_update_topic()
form_validate_topic()
form_validate_module
dropdown()
Trop de conflits avec la branche Release 1.3. Refaire les changements en partant de la branche Release 1.3, discuter avec ViDi pour choisir quels changements doivent être faits dans les contrôleurs.
Note: Likely contains some missing things
All controllers:
$error
is now loaded from form_validation$error
with$this->form_validation->error_string()
validation_errors()
instead of prewritten errors, with a few exceptionsform_input()
andform_label()
wherever possible$value ?? $default
instead ofisset($value)
to reduce the callsfor
withforeach
foreach
to usearray_search()
Questionnaire:add()
no longers returns a number for forms, usegetNbQuestion()
clozeTextPdf()
no longer registers '[]' as a valid answer space Auth:login()
no longer has a minimum username/password length. In case someone is registered from the database itself Topic:form_add_topic()
andform_update_topic()
have been replaced byform_validate_topic()
form_validate_module
, nothing used it anywaydropdown()
similar to MY_Model for topics