Consistent module naming throughout the app

This commit is contained in:
Alex Tselegidis 2020-11-13 11:00:57 +02:00
parent 501d359ee1
commit 6e66eb4fd8
29 changed files with 192 additions and 192 deletions

View file

@ -25,15 +25,15 @@
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Synchronization $synchronization * @property Synchronization $synchronization
* @property Notifications $notifications * @property Notifications $notifications

View file

@ -25,16 +25,16 @@
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -32,18 +32,18 @@ use EA\Engine\Types\Url;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Synchronization $synchronization * @property Synchronization $synchronization
* @property Notifications $notifications * @property Notifications $notifications
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -25,16 +25,16 @@
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -27,17 +27,17 @@
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Consents_Model consents_model * @property Consents_Model consents_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -25,16 +25,16 @@
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -27,16 +27,16 @@
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -28,16 +28,16 @@
* @property CI_Migration migration * @property CI_Migration migration
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -25,16 +25,16 @@
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -29,16 +29,16 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -31,18 +31,18 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Notifications $notifications * @property Notifications $notifications
* @property Synchronization $synchronization * @property Synchronization $synchronization
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -30,16 +30,16 @@ use EA\Engine\Types\UnsignedInteger;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -30,16 +30,16 @@ use EA\Engine\Api\V1\Response;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -31,16 +31,16 @@ use EA\Engine\Types\NonEmptyText;
* @property CI_Security $security * @property CI_Security $security
* @property Google_Sync $google_sync * @property Google_Sync $google_sync
* @property Ics_file $ics_file * @property Ics_file $ics_file
* @property Appointments_Model $appointments_model * @property Appointments_model $appointments_model
* @property Providers_Model $providers_model * @property Providers_model $providers_model
* @property Services_Model $services_model * @property Services_model $services_model
* @property Customers_Model $customers_model * @property Customers_model $customers_model
* @property Settings_Model $settings_model * @property Settings_model $settings_model
* @property Timezones $timezones * @property Timezones $timezones
* @property Roles_Model $roles_model * @property Roles_model $roles_model
* @property Secretaries_Model $secretaries_model * @property Secretaries_model $secretaries_model
* @property Admins_Model $admins_model * @property Admins_model $admins_model
* @property User_Model $user_model * @property User_model $user_model
* *
* @package Controllers * @package Controllers
*/ */

View file

@ -21,7 +21,7 @@
* *
* @package Models * @package Models
*/ */
class Admins_Model extends CI_Model { class Admins_model extends CI_Model {
public function __construct() public function __construct()
{ {
parent::__construct(); parent::__construct();

View file

@ -19,7 +19,7 @@
* *
* @package Models * @package Models
*/ */
class Appointments_Model extends CI_Model { class Appointments_model extends CI_Model {
/** /**
* Appointments_Model constructor. * Appointments_Model constructor.
*/ */

View file

@ -19,7 +19,7 @@
* *
* @package Models * @package Models
*/ */
class Customers_Model extends CI_Model { class Customers_model extends CI_Model {
/** /**
* Customers_Model constructor. * Customers_Model constructor.
*/ */
@ -47,14 +47,14 @@ class Customers_Model extends CI_Model {
// Validate the customer data before doing anything. // Validate the customer data before doing anything.
$this->validate($customer); $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'])) if ($this->exists($customer) && ! isset($customer['id']))
{ {
// Find the customer id from the database. // Find the customer id from the database.
$customer['id'] = $this->find_record_id($customer); $customer['id'] = $this->find_record_id($customer);
} }
// :: INSERT OR UPDATE CUSTOMER RECORD // Insert or update the customer record.
if ( ! isset($customer['id'])) if ( ! isset($customer['id']))
{ {
$customer['id'] = $this->insert($customer); $customer['id'] = $this->insert($customer);
@ -355,7 +355,7 @@ class Customers_Model extends CI_Model {
* $this->Model->getBatch('id = ' . $recordId); * $this->Model->getBatch('id = ' . $recordId);
* *
* @param mixed|null $where * @param mixed|null $where
* @param midex|null $order_by * @param mixed|null $order_by
* @param int|null $limit * @param int|null $limit
* @param int|null $offset * @param int|null $offset
* @return array Returns the rows from the database. * @return array Returns the rows from the database.

View file

@ -21,7 +21,7 @@
* *
* @package Models * @package Models
*/ */
class Providers_Model extends CI_Model { class Providers_model extends CI_Model {
/** /**
* Providers_Model constructor. * Providers_Model constructor.
*/ */

View file

@ -19,7 +19,7 @@
* *
* @package Models * @package Models
*/ */
class Roles_Model extends CI_Model { class Roles_model extends CI_Model {
/** /**
* Get the record id of a particular role. * Get the record id of a particular role.
* *

View file

@ -21,7 +21,7 @@
* *
* @package Models * @package Models
*/ */
class Secretaries_Model extends CI_Model { class Secretaries_model extends CI_Model {
/** /**
* Secretaries_Model constructor. * Secretaries_Model constructor.
*/ */

View file

@ -19,7 +19,7 @@
* *
* @package Models * @package Models
*/ */
class Services_Model extends CI_Model { class Services_model extends CI_Model {
/** /**
* Services_Model constructor. * Services_Model constructor.
*/ */

View file

@ -19,7 +19,7 @@
* *
* @package Models * @package Models
*/ */
class Settings_Model extends CI_Model { class Settings_model extends CI_Model {
/** /**
* Get setting value from database. * Get setting value from database.
* *

View file

@ -21,7 +21,7 @@
* *
* @package Models * @package Models
*/ */
class User_Model extends CI_Model { class User_model extends CI_Model {
/** /**
* User_Model constructor. * User_Model constructor.
*/ */