| @@ 112-121 (lines=10) @@ | ||
| 109 | * |
|
| 110 | * @return array The array of quotes strings |
|
| 111 | */ |
|
| 112 | public function quoteArr(array $array) |
|
| 113 | { |
|
| 114 | $result = array(); |
|
| 115 | ||
| 116 | foreach ($array as $key => $item) { |
|
| 117 | $result[$key] = $this->quote($item); |
|
| 118 | } |
|
| 119 | ||
| 120 | return $result; |
|
| 121 | } |
|
| 122 | ||
| 123 | public function quoteSetArr(array $array) |
|
| 124 | { |
|
| @@ 123-132 (lines=10) @@ | ||
| 120 | return $result; |
|
| 121 | } |
|
| 122 | ||
| 123 | public function quoteSetArr(array $array) |
|
| 124 | { |
|
| 125 | $result = array(); |
|
| 126 | ||
| 127 | foreach ($array as $key => $item) { |
|
| 128 | $result[$this->quoteIdentifier($key)] = $this->quote($item); |
|
| 129 | } |
|
| 130 | ||
| 131 | return $result; |
|
| 132 | } |
|
| 133 | ||
| 134 | /** |
|
| 135 | * Escapes the query for the MATCH() function. |
|