remove codeigniter

This commit is contained in:
root
2026-06-04 02:41:08 -04:00
parent 4e33882ac7
commit b4e6ac03c5
180 changed files with 457 additions and 2186 deletions
+5 -5
View File
@@ -11,7 +11,7 @@ class StudentAllergy extends BaseModel
protected $table = 'student_allergies';
/**
* CI: timestamps disabled
* legacy: timestamps disabled
*/
public $timestamps = true;
@@ -51,13 +51,13 @@ class StudentAllergy extends BaseModel
}
/* ============================================================
* CI-compatible methods
* legacy-compatible methods
* ============================================================
*/
/**
* Get all allergies for a given student.
* CI: getAllergiesByStudentId()
* legacy: getAllergiesByStudentId()
*/
public static function getAllergiesByStudentId(int $studentId): array
{
@@ -70,7 +70,7 @@ class StudentAllergy extends BaseModel
/**
* Get allergies for multiple students, grouped by student_id.
* CI: getAllergiesByStudentIds()
* legacy: getAllergiesByStudentIds()
*/
public static function getAllergiesByStudentIds(array $studentIds): array
{
@@ -93,7 +93,7 @@ class StudentAllergy extends BaseModel
/* ============================================================
* Validation rules helper (FormRequest/controller)
* Mirrors CI validation intent
* Mirrors legacy validation intent
* ============================================================
*/