@@ -129,6 +129,9 @@ |
||
| 129 | 129 | return '"' . $str . '"'; |
| 130 | 130 | } |
| 131 | 131 | |
| 132 | + /** |
|
| 133 | + * @param string $str |
|
| 134 | + */ |
|
| 132 | 135 | protected function quoteSpace(/*# string */ $str)/*# : string */ |
| 133 | 136 | { |
| 134 | 137 | // @TODO quoteSpace |
@@ -37,6 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * {@inheritDoc} |
| 40 | + * @param string $col |
|
| 40 | 41 | */ |
| 41 | 42 | public function col($col, /*# string */ $alias = '') |
| 42 | 43 | { |
@@ -94,6 +95,7 @@ discard block |
||
| 94 | 95 | |
| 95 | 96 | /** |
| 96 | 97 | * {@inheritDoc} |
| 98 | + * @param string $template |
|
| 97 | 99 | */ |
| 98 | 100 | public function colTpl( |
| 99 | 101 | /*# string */ $template, |
@@ -192,11 +194,23 @@ discard block |
||
| 192 | 194 | return $this->is_distinct ? ' DISTINCT' : ''; |
| 193 | 195 | } |
| 194 | 196 | |
| 197 | + /** |
|
| 198 | + * @param boolean $rawMode |
|
| 199 | + */ |
|
| 195 | 200 | abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */; |
| 196 | 201 | abstract protected function quoteAlias($alias)/*# : string */; |
| 197 | 202 | abstract protected function quoteItem($item, /*# bool */ $rawMode = false)/*# : string */; |
| 198 | 203 | abstract protected function clauseTpl(/*# string */ $template, $col)/*# : string */; |
| 204 | + |
|
| 205 | + /** |
|
| 206 | + * @param string $clauseName |
|
| 207 | + */ |
|
| 199 | 208 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 209 | + |
|
| 210 | + /** |
|
| 211 | + * @param string $prefix |
|
| 212 | + * @param string $seperator |
|
| 213 | + */ |
|
| 200 | 214 | abstract protected function joinClause( |
| 201 | 215 | /*# : string */ $prefix, |
| 202 | 216 | /*# : string */ $seperator, |
@@ -101,10 +101,23 @@ |
||
| 101 | 101 | return $this->joinClause('ORDRE BY', ',', $result, $settings); |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $str |
|
| 106 | + * @param boolean $rawMode |
|
| 107 | + */ |
|
| 104 | 108 | abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */; |
| 105 | 109 | abstract protected function clauseTpl(/*# string */ $template, $col)/*# : string */; |
| 110 | + |
|
| 111 | + /** |
|
| 112 | + * @param string $clauseName |
|
| 113 | + */ |
|
| 106 | 114 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 107 | 115 | abstract protected function quoteItem($item, /*# bool */ $rawMode = false)/*# : string */; |
| 116 | + |
|
| 117 | + /** |
|
| 118 | + * @param string $prefix |
|
| 119 | + * @param string $seperator |
|
| 120 | + */ |
|
| 108 | 121 | abstract protected function joinClause( |
| 109 | 122 | /*# : string */ $prefix, |
| 110 | 123 | /*# : string */ $seperator, |
@@ -372,8 +372,17 @@ |
||
| 372 | 372 | |
| 373 | 373 | abstract protected function processValue($value)/*# : string */; |
| 374 | 374 | abstract protected function clauseTpl(/*# string */ $template, $col)/*# : string */; |
| 375 | + |
|
| 376 | + /** |
|
| 377 | + * @param string $clauseName |
|
| 378 | + */ |
|
| 375 | 379 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 376 | 380 | abstract protected function quoteItem($item, /*# bool */ $rawMode = false)/*# : string */; |
| 381 | + |
|
| 382 | + /** |
|
| 383 | + * @param string $prefix |
|
| 384 | + * @param string $seperator |
|
| 385 | + */ |
|
| 377 | 386 | abstract protected function joinClause( |
| 378 | 387 | /*# : string */ $prefix, |
| 379 | 388 | /*# : string */ $seperator, |