Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
67 | public function initFrom() |
||
68 | { |
||
69 | return $this->from('zcharge zh') |
||
70 | ->leftJoin('purse hp', 'hp.obj_id = zh.purse_id') |
||
71 | ->leftJoin('zclient zc', 'zc.obj_id = hp.client_id') |
||
72 | ->leftJoin('zclient cr', 'cr.obj_id = zc.seller_id') |
||
73 | ->leftJoin('zref py', 'py.obj_id = hp.currency_id') |
||
74 | ->leftJoin('unit hu', 'hu.obj_id = zh.unit_id') |
||
75 | ->leftJoin('action ha', 'ha.id = zh.action_id') |
||
76 | ->leftJoin('obj tj', 'tj.obj_id = zh.object_id') |
||
77 | ->leftJoin('zref tt', 'tt.obj_id = tj.class_id') |
||
78 | ->leftJoin('gref ht', 'ht.obj_id = zh.type_id'); |
||
79 | } |
||
81 |