Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
47 | protected function callHandlers() |
||
48 | { |
||
49 | // Iterate handlers and run them |
||
50 | foreach ($this->handlers as $i => $handler) { |
||
51 | // Create handler params array with first parameter pointing to this query object |
||
52 | $params = array(& $this); |
||
53 | |||
54 | // Combine params with existing ones in one array |
||
55 | $params = array_merge($params, $this->params[$i]); |
||
56 | |||
57 | // Execute handler |
||
58 | call_user_func_array($handler, $params); |
||
59 | } |
||
60 | } |
||
61 | } |
||
62 |