File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ class Costumers
3
+ {
4
+ /**
5
+ *
6
+ */
7
+ public function __construct ()
8
+ {
9
+ }
10
+
11
+ /**
12
+ *
13
+ */
14
+ public function __destruct ()
15
+ {
16
+ }
17
+
18
+ /**
19
+ * Set friendly columns\' names to order tables\' entries
20
+ */
21
+ public function setOrderingValues ()
22
+ {
23
+ $ ordering = [
24
+ 'id ' => 'ID ' ,
25
+ 'f_name ' => 'First Name ' ,
26
+ 'l_name ' => 'Last Name ' ,
27
+ 'gender ' => 'Gender ' ,
28
+ 'phone ' => 'Phone ' ,
29
+ 'created_at ' => 'Created at ' ,
30
+ 'updated_at ' => 'Updated at '
31
+ ];
32
+
33
+ return $ ordering ;
34
+ }
35
+ }
36
+ ?>
Original file line number Diff line number Diff line change
1
+ <?php
2
+ class Users
3
+ {
4
+ /**
5
+ *
6
+ */
7
+ public function __construct ()
8
+ {
9
+ }
10
+
11
+ /**
12
+ *
13
+ */
14
+ public function __destruct ()
15
+ {
16
+ }
17
+
18
+ /**
19
+ * Set friendly columns\' names to order tables\' entries
20
+ */
21
+ public function setOrderingValues ()
22
+ {
23
+ $ ordering = [
24
+ 'id ' => 'ID ' ,
25
+ 'user_name ' => 'User Name ' ,
26
+ 'admin_type ' => 'Admin Type '
27
+ ];
28
+
29
+ return $ ordering ;
30
+ }
31
+ }
32
+ ?>
You can’t perform that action at this time.
0 commit comments