| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | private function setEntre(array $columnas): string |
||
| 27 | { |
||
| 28 | if(count($columnas) !== 3) |
||
| 29 | { |
||
| 30 | throw new Exception("Faltan elementos en la sentencia BETWEEN"); |
||
| 31 | } |
||
| 32 | |||
| 33 | foreach($columnas as $columna) |
||
| 34 | { |
||
| 35 | $this->alfaNumerico($columna); |
||
| 36 | } |
||
| 37 | |||
| 38 | $this->_datos = $this->setDatos($columnas); |
||
| 39 | |||
| 40 | return ' WHERE '.$columnas[0].' BETWEEN ? AND ?'; |
||
| 41 | } |
||
| 55 | } |