remove codeigniter
This commit is contained in:
@@ -11,7 +11,7 @@ class StudentMedicalCondition extends BaseModel
|
||||
protected $table = 'student_medical_conditions';
|
||||
|
||||
/**
|
||||
* CI: timestamps disabled
|
||||
* legacy: timestamps disabled
|
||||
*/
|
||||
public $timestamps = true;
|
||||
|
||||
@@ -51,13 +51,13 @@ class StudentMedicalCondition extends BaseModel
|
||||
}
|
||||
|
||||
/* ============================================================
|
||||
* CI-compatible methods
|
||||
* legacy-compatible methods
|
||||
* ============================================================
|
||||
*/
|
||||
|
||||
/**
|
||||
* Get all medical conditions for a given student.
|
||||
* CI: getMedicalByStudentId()
|
||||
* legacy: getMedicalByStudentId()
|
||||
*/
|
||||
public static function getMedicalByStudentId(int $studentId): array
|
||||
{
|
||||
@@ -70,7 +70,7 @@ class StudentMedicalCondition extends BaseModel
|
||||
|
||||
/**
|
||||
* Get medical conditions for multiple students, grouped by student_id.
|
||||
* CI: getMedicalByStudentIds()
|
||||
* legacy: getMedicalByStudentIds()
|
||||
*/
|
||||
public static function getMedicalByStudentIds(array $studentIds): array
|
||||
{
|
||||
@@ -91,7 +91,7 @@ class StudentMedicalCondition extends BaseModel
|
||||
|
||||
/* ============================================================
|
||||
* Validation helper (FormRequest/controller)
|
||||
* Mirrors CI rules/messages
|
||||
* Mirrors legacy rules/messages
|
||||
* ============================================================
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user