| @@ 134-144 (lines=11) @@ | ||
| 131 | * |
|
| 132 | * @return string |
|
| 133 | */ |
|
| 134 | protected function quote($field) |
|
| 135 | { |
|
| 136 | $parts = explode('.', $field); |
|
| 137 | $quotes = array(); |
|
| 138 | ||
| 139 | foreach ($parts as $part) { |
|
| 140 | $quotes[] = $this->quote . $part . $this->quote; |
|
| 141 | } |
|
| 142 | ||
| 143 | return implode('.', $quotes); |
|
| 144 | } |
|
| 145 | } |
|
| 146 | ||
| @@ 499-509 (lines=11) @@ | ||
| 496 | * |
|
| 497 | * @return string |
|
| 498 | */ |
|
| 499 | protected function quote($field) |
|
| 500 | { |
|
| 501 | $parts = explode('.', $field); |
|
| 502 | $quotes = array(); |
|
| 503 | ||
| 504 | foreach ($parts as $part) { |
|
| 505 | $quotes[] = $this->quote . $part . $this->quote; |
|
| 506 | } |
|
| 507 | ||
| 508 | return implode('.', $quotes); |
|
| 509 | } |
|
| 510 | ||
| 511 | /** |
|
| 512 | * Reset statements. |
|