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