From 6e66eb4fd8072e81b2b5f907bfa9d4b04cd6eae4 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Fri, 13 Nov 2020 11:00:57 +0200 Subject: [PATCH] Consistent module naming throughout the app --- application/controllers/Appointments.php | 18 +++++++++--------- application/controllers/Backend.php | 18 +++++++++--------- application/controllers/Backend_api.php | 18 +++++++++--------- application/controllers/Captcha.php | 18 +++++++++--------- application/controllers/Consents.php | 18 +++++++++--------- application/controllers/Errors.php | 18 +++++++++--------- application/controllers/Google.php | 18 +++++++++--------- application/controllers/Installation.php | 18 +++++++++--------- application/controllers/Privacy.php | 18 +++++++++--------- application/controllers/User.php | 18 +++++++++--------- application/controllers/api/v1/Admins.php | 18 +++++++++--------- .../controllers/api/v1/Appointments.php | 18 +++++++++--------- .../controllers/api/v1/Availabilities.php | 18 +++++++++--------- application/controllers/api/v1/Categories.php | 18 +++++++++--------- application/controllers/api/v1/Customers.php | 18 +++++++++--------- application/controllers/api/v1/Providers.php | 18 +++++++++--------- application/controllers/api/v1/Secretaries.php | 18 +++++++++--------- application/controllers/api/v1/Services.php | 18 +++++++++--------- application/controllers/api/v1/Settings.php | 18 +++++++++--------- .../controllers/api/v1/Unavailabilities.php | 18 +++++++++--------- application/models/Admins_model.php | 2 +- application/models/Appointments_model.php | 2 +- application/models/Customers_model.php | 8 ++++---- application/models/Providers_model.php | 2 +- application/models/Roles_model.php | 2 +- application/models/Secretaries_model.php | 2 +- application/models/Services_model.php | 2 +- application/models/Settings_model.php | 2 +- application/models/User_model.php | 2 +- 29 files changed, 192 insertions(+), 192 deletions(-) diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index 0997af48..72bc7300 100755 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -25,15 +25,15 @@ * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * @property Timezones $timezones * @property Synchronization $synchronization * @property Notifications $notifications diff --git a/application/controllers/Backend.php b/application/controllers/Backend.php index 10036304..82c30f83 100755 --- a/application/controllers/Backend.php +++ b/application/controllers/Backend.php @@ -25,16 +25,16 @@ * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/Backend_api.php b/application/controllers/Backend_api.php index 0f5992ed..28e85b11 100755 --- a/application/controllers/Backend_api.php +++ b/application/controllers/Backend_api.php @@ -32,18 +32,18 @@ use EA\Engine\Types\Url; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones * @property Synchronization $synchronization * @property Notifications $notifications - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/Captcha.php b/application/controllers/Captcha.php index 897aa0fa..d62cd2af 100644 --- a/application/controllers/Captcha.php +++ b/application/controllers/Captcha.php @@ -25,16 +25,16 @@ * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/Consents.php b/application/controllers/Consents.php index bd8e4fb2..4b17d035 100644 --- a/application/controllers/Consents.php +++ b/application/controllers/Consents.php @@ -27,17 +27,17 @@ * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model * @property Consents_Model consents_model - * @property Settings_Model $settings_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/Errors.php b/application/controllers/Errors.php index 425a35ed..eeb05831 100644 --- a/application/controllers/Errors.php +++ b/application/controllers/Errors.php @@ -25,16 +25,16 @@ * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/Google.php b/application/controllers/Google.php index 455d8908..365af13e 100644 --- a/application/controllers/Google.php +++ b/application/controllers/Google.php @@ -27,16 +27,16 @@ * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/Installation.php b/application/controllers/Installation.php index bfb2c5a6..fb0658b0 100644 --- a/application/controllers/Installation.php +++ b/application/controllers/Installation.php @@ -28,16 +28,16 @@ * @property CI_Migration migration * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/Privacy.php b/application/controllers/Privacy.php index cf8647f3..7e744afa 100644 --- a/application/controllers/Privacy.php +++ b/application/controllers/Privacy.php @@ -25,16 +25,16 @@ * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/User.php b/application/controllers/User.php index 4223773e..ef4ae4a0 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -29,16 +29,16 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Admins.php b/application/controllers/api/v1/Admins.php index d2dcaf51..b33ed085 100644 --- a/application/controllers/api/v1/Admins.php +++ b/application/controllers/api/v1/Admins.php @@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Appointments.php b/application/controllers/api/v1/Appointments.php index 4a7ae2b8..7914ffba 100644 --- a/application/controllers/api/v1/Appointments.php +++ b/application/controllers/api/v1/Appointments.php @@ -31,18 +31,18 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones * @property Notifications $notifications * @property Synchronization $synchronization - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Availabilities.php b/application/controllers/api/v1/Availabilities.php index a7840228..de0dfc3a 100644 --- a/application/controllers/api/v1/Availabilities.php +++ b/application/controllers/api/v1/Availabilities.php @@ -30,16 +30,16 @@ use EA\Engine\Types\UnsignedInteger; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Categories.php b/application/controllers/api/v1/Categories.php index 6e9d3aca..8272ae7c 100644 --- a/application/controllers/api/v1/Categories.php +++ b/application/controllers/api/v1/Categories.php @@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Customers.php b/application/controllers/api/v1/Customers.php index ce95ea8e..713429d6 100644 --- a/application/controllers/api/v1/Customers.php +++ b/application/controllers/api/v1/Customers.php @@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Providers.php b/application/controllers/api/v1/Providers.php index fe342cbb..6a960371 100644 --- a/application/controllers/api/v1/Providers.php +++ b/application/controllers/api/v1/Providers.php @@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Secretaries.php b/application/controllers/api/v1/Secretaries.php index fcff6060..e858b66e 100644 --- a/application/controllers/api/v1/Secretaries.php +++ b/application/controllers/api/v1/Secretaries.php @@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Services.php b/application/controllers/api/v1/Services.php index 0aace4a0..43124067 100644 --- a/application/controllers/api/v1/Services.php +++ b/application/controllers/api/v1/Services.php @@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Settings.php b/application/controllers/api/v1/Settings.php index 2936d4f4..6ba755d4 100644 --- a/application/controllers/api/v1/Settings.php +++ b/application/controllers/api/v1/Settings.php @@ -30,16 +30,16 @@ use EA\Engine\Api\V1\Response; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/controllers/api/v1/Unavailabilities.php b/application/controllers/api/v1/Unavailabilities.php index c1d81b9c..88d224d6 100644 --- a/application/controllers/api/v1/Unavailabilities.php +++ b/application/controllers/api/v1/Unavailabilities.php @@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText; * @property CI_Security $security * @property Google_Sync $google_sync * @property Ics_file $ics_file - * @property Appointments_Model $appointments_model - * @property Providers_Model $providers_model - * @property Services_Model $services_model - * @property Customers_Model $customers_model - * @property Settings_Model $settings_model + * @property Appointments_model $appointments_model + * @property Providers_model $providers_model + * @property Services_model $services_model + * @property Customers_model $customers_model + * @property Settings_model $settings_model * @property Timezones $timezones - * @property Roles_Model $roles_model - * @property Secretaries_Model $secretaries_model - * @property Admins_Model $admins_model - * @property User_Model $user_model + * @property Roles_model $roles_model + * @property Secretaries_model $secretaries_model + * @property Admins_model $admins_model + * @property User_model $user_model * * @package Controllers */ diff --git a/application/models/Admins_model.php b/application/models/Admins_model.php index 83a644d6..9e6b1efd 100644 --- a/application/models/Admins_model.php +++ b/application/models/Admins_model.php @@ -21,7 +21,7 @@ * * @package Models */ -class Admins_Model extends CI_Model { +class Admins_model extends CI_Model { public function __construct() { parent::__construct(); diff --git a/application/models/Appointments_model.php b/application/models/Appointments_model.php index 8b49cde5..4c4af32f 100644 --- a/application/models/Appointments_model.php +++ b/application/models/Appointments_model.php @@ -19,7 +19,7 @@ * * @package Models */ -class Appointments_Model extends CI_Model { +class Appointments_model extends CI_Model { /** * Appointments_Model constructor. */ diff --git a/application/models/Customers_model.php b/application/models/Customers_model.php index 94409bed..cb44ad13 100644 --- a/application/models/Customers_model.php +++ b/application/models/Customers_model.php @@ -19,7 +19,7 @@ * * @package Models */ -class Customers_Model extends CI_Model { +class Customers_model extends CI_Model { /** * Customers_Model constructor. */ @@ -47,14 +47,14 @@ class Customers_Model extends CI_Model { // Validate the customer data before doing anything. $this->validate($customer); - // :: CHECK IF CUSTOMER ALREADY EXIST (FROM EMAIL). + // Check if a customer already exists (by email). if ($this->exists($customer) && ! isset($customer['id'])) { // Find the customer id from the database. $customer['id'] = $this->find_record_id($customer); } - // :: INSERT OR UPDATE CUSTOMER RECORD + // Insert or update the customer record. if ( ! isset($customer['id'])) { $customer['id'] = $this->insert($customer); @@ -355,7 +355,7 @@ class Customers_Model extends CI_Model { * $this->Model->getBatch('id = ' . $recordId); * * @param mixed|null $where - * @param midex|null $order_by + * @param mixed|null $order_by * @param int|null $limit * @param int|null $offset * @return array Returns the rows from the database. diff --git a/application/models/Providers_model.php b/application/models/Providers_model.php index bac0b4b5..fa2c4043 100755 --- a/application/models/Providers_model.php +++ b/application/models/Providers_model.php @@ -21,7 +21,7 @@ * * @package Models */ -class Providers_Model extends CI_Model { +class Providers_model extends CI_Model { /** * Providers_Model constructor. */ diff --git a/application/models/Roles_model.php b/application/models/Roles_model.php index e7b7caa5..9851998e 100644 --- a/application/models/Roles_model.php +++ b/application/models/Roles_model.php @@ -19,7 +19,7 @@ * * @package Models */ -class Roles_Model extends CI_Model { +class Roles_model extends CI_Model { /** * Get the record id of a particular role. * diff --git a/application/models/Secretaries_model.php b/application/models/Secretaries_model.php index d08f7891..9e89abe7 100644 --- a/application/models/Secretaries_model.php +++ b/application/models/Secretaries_model.php @@ -21,7 +21,7 @@ * * @package Models */ -class Secretaries_Model extends CI_Model { +class Secretaries_model extends CI_Model { /** * Secretaries_Model constructor. */ diff --git a/application/models/Services_model.php b/application/models/Services_model.php index b6767493..4d0ec770 100644 --- a/application/models/Services_model.php +++ b/application/models/Services_model.php @@ -19,7 +19,7 @@ * * @package Models */ -class Services_Model extends CI_Model { +class Services_model extends CI_Model { /** * Services_Model constructor. */ diff --git a/application/models/Settings_model.php b/application/models/Settings_model.php index 396f9045..c197a028 100644 --- a/application/models/Settings_model.php +++ b/application/models/Settings_model.php @@ -19,7 +19,7 @@ * * @package Models */ -class Settings_Model extends CI_Model { +class Settings_model extends CI_Model { /** * Get setting value from database. * diff --git a/application/models/User_model.php b/application/models/User_model.php index 64db2564..88c54533 100644 --- a/application/models/User_model.php +++ b/application/models/User_model.php @@ -21,7 +21,7 @@ * * @package Models */ -class User_Model extends CI_Model { +class User_model extends CI_Model { /** * User_Model constructor. */