@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | * |
| 68 | 68 | * @param string $joinType |
| 69 | 69 | * @param string|string[]|SelectStatementInterface $secondTable |
| 70 | - * @param string|string[]|ExpressionInterface $onClause |
|
| 70 | + * @param string $onClause |
|
| 71 | 71 | * @param string $firstTable |
| 72 | 72 | * @param bool $rawMode |
| 73 | 73 | * @return $this |
@@ -238,8 +238,15 @@ discard block |
||
| 238 | 238 | return $alias . '.'; |
| 239 | 239 | } |
| 240 | 240 | |
| 241 | + /** |
|
| 242 | + * @param string $str |
|
| 243 | + */ |
|
| 241 | 244 | abstract protected function quote(/*# string */ $str, array $settings)/*# : string */; |
| 242 | 245 | abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */; |
| 246 | + |
|
| 247 | + /** |
|
| 248 | + * @param string $clauseName |
|
| 249 | + */ |
|
| 243 | 250 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 244 | 251 | abstract protected function flatSettings(array $settings)/*# : array */; |
| 245 | 252 | abstract protected function quoteItem( |
@@ -248,6 +255,10 @@ discard block |
||
| 248 | 255 | /*# bool */ $rawMode = false |
| 249 | 256 | )/*# : string */; |
| 250 | 257 | abstract protected function quoteAlias($alias, array $settings)/*# : string */; |
| 258 | + |
|
| 259 | + /** |
|
| 260 | + * @param string $seperator |
|
| 261 | + */ |
|
| 251 | 262 | abstract protected function joinClause( |
| 252 | 263 | /*# : string */ $prefix, |
| 253 | 264 | /*# : string */ $seperator, |
@@ -199,6 +199,11 @@ |
||
| 199 | 199 | abstract protected function getType()/*# : string */; |
| 200 | 200 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 201 | 201 | abstract protected function processValue($value, array $settings, /*# bool */ $between = false)/*# : string */; |
| 202 | + |
|
| 203 | + /** |
|
| 204 | + * @param string $prefix |
|
| 205 | + * @param string $seperator |
|
| 206 | + */ |
|
| 202 | 207 | abstract protected function joinClause( |
| 203 | 208 | /*# : string */ $prefix, |
| 204 | 209 | /*# : string */ $seperator, |
@@ -95,6 +95,7 @@ discard block |
||
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | 97 | * {@inheritDoc} |
| 98 | + * @param string $template |
|
| 98 | 99 | */ |
| 99 | 100 | public function colTpl( |
| 100 | 101 | /*# string */ $template, |
@@ -188,8 +189,19 @@ discard block |
||
| 188 | 189 | return $this->is_distinct ? ' DISTINCT' : $prefix; |
| 189 | 190 | } |
| 190 | 191 | |
| 192 | + /** |
|
| 193 | + * @param boolean $rawMode |
|
| 194 | + */ |
|
| 191 | 195 | abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */; |
| 196 | + |
|
| 197 | + /** |
|
| 198 | + * @param string $clauseName |
|
| 199 | + */ |
|
| 192 | 200 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 201 | + |
|
| 202 | + /** |
|
| 203 | + * @param string $clauseName |
|
| 204 | + */ |
|
| 193 | 205 | abstract protected function buildClause( |
| 194 | 206 | /*# string */ $clauseName, |
| 195 | 207 | /*# string */ $clausePrefix, |