@@ -38,6 +38,7 @@ discard block |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * {@inheritDoc} |
41 | + * @param string $col |
|
41 | 42 | */ |
42 | 43 | public function col($col, /*# string */ $alias = '') |
43 | 44 | { |
@@ -95,6 +96,7 @@ discard block |
||
95 | 96 | |
96 | 97 | /** |
97 | 98 | * {@inheritDoc} |
99 | + * @param string $template |
|
98 | 100 | */ |
99 | 101 | public function colTpl( |
100 | 102 | /*# string */ $template, |
@@ -188,8 +190,19 @@ discard block |
||
188 | 190 | return $this->is_distinct ? ' DISTINCT' : $prefix; |
189 | 191 | } |
190 | 192 | |
193 | + /** |
|
194 | + * @param boolean $rawMode |
|
195 | + */ |
|
191 | 196 | abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */; |
197 | + |
|
198 | + /** |
|
199 | + * @param string $clauseName |
|
200 | + */ |
|
192 | 201 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
202 | + |
|
203 | + /** |
|
204 | + * @param string $clauseName |
|
205 | + */ |
|
193 | 206 | abstract protected function buildClause( |
194 | 207 | /*# string */ $clauseName, |
195 | 208 | /*# string */ $clausePrefix, |
@@ -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, |