| 1 | <?php |
||
| 25 | trait QuoteTrait |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * Quote string base on settings only if '[a-zA-Z_.\$]' found |
||
| 29 | * |
||
| 30 | * - username to `username` |
||
| 31 | * - u.username to `u`.`username` |
||
| 32 | * |
||
| 33 | * @param string $str |
||
| 34 | * @param array $settings |
||
| 35 | * @return string |
||
| 36 | * @access protected |
||
| 37 | */ |
||
| 38 | protected function quote( |
||
| 58 | } |
||
| 59 |