| Conditions | 3 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 4.125 |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 36 | 1 | public function getCapabilities() |
|
| 37 | { |
||
| 38 | 1 | $return = array(); |
|
| 39 | |||
| 40 | 1 | if (function_exists('dba_open')) { |
|
| 41 | foreach ($this->_db->capabilityCodes() as $code) { |
||
| 42 | $return[$code] = array($this->_db->supports($code), $this->_db->capabilityDescription($code)); |
||
| 43 | } |
||
| 44 | } |
||
| 45 | |||
| 46 | 1 | return $return; |
|
| 47 | } |
||
| 48 | |||
| 59 |