1 <?php
2
3 namespace PLus\Orders\Repositories\Config;
4
5
6 7 8 9 10
11 class CfgRepository extends \PLus\Orders\Repositories\Repository {
12
13
14 15 16 17
18 function getTimelineIcons() {
19 return $this->connection->table('cfg_timeline_icons')->select('event_id AS key, value')->fetchPairs('key','value');
20 }
21
22
23 24 25 26
27 function getTimelineColors() {
28 return $this->connection->table('cfg_timeline_colors')->select('event_id AS key, value')->fetchPairs('key','value');
29 }
30
31 32 33 34
35 function getTimelineInverted() {
36 return $this->connection->table('cfg_timeline_inverted')->select('event_id AS key, value')->fetchPairs('key','value');
37 }
38 }
39