@@ -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,20 @@ discard block |
||
| 188 | 190 | return $this->is_distinct ? ' DISTINCT' : ''; |
| 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 | + * @param string $clausePrefix |
|
| 206 | + */ |
|
| 193 | 207 | abstract protected function buildClause( |
| 194 | 208 | /*# string */ $clauseName, |
| 195 | 209 | /*# string */ $clausePrefix, |
@@ -89,7 +89,15 @@ |
||
| 89 | 89 | return $this->buildClause('FROM', 'FROM', $settings); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | + /** |
|
| 93 | + * @param string $clauseName |
|
| 94 | + */ |
|
| 92 | 95 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 96 | + |
|
| 97 | + /** |
|
| 98 | + * @param string $clauseName |
|
| 99 | + * @param string $clausePrefix |
|
| 100 | + */ |
|
| 93 | 101 | abstract protected function buildClause( |
| 94 | 102 | /*# string */ $clauseName, |
| 95 | 103 | /*# string */ $clausePrefix, |
@@ -102,8 +102,20 @@ |
||
| 102 | 102 | return $this->buildClause('GROUP BY', 'GROUP BY', $settings); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | + /** |
|
| 106 | + * @param boolean $rawMode |
|
| 107 | + */ |
|
| 105 | 108 | abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */; |
| 109 | + |
|
| 110 | + /** |
|
| 111 | + * @param string $clauseName |
|
| 112 | + */ |
|
| 106 | 113 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 114 | + |
|
| 115 | + /** |
|
| 116 | + * @param string $clauseName |
|
| 117 | + * @param string $clausePrefix |
|
| 118 | + */ |
|
| 107 | 119 | abstract protected function buildClause( |
| 108 | 120 | /*# string */ $clauseName, |
| 109 | 121 | /*# string */ $clausePrefix, |
@@ -118,8 +118,20 @@ |
||
| 118 | 118 | return $this->buildClause('ORDER BY', 'ORDER BY', $settings); |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | + /** |
|
| 122 | + * @param boolean $rawMode |
|
| 123 | + */ |
|
| 121 | 124 | abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */; |
| 125 | + |
|
| 126 | + /** |
|
| 127 | + * @param string $clauseName |
|
| 128 | + */ |
|
| 122 | 129 | abstract protected function &getClause(/*# string */ $clauseName)/*# : array */; |
| 130 | + |
|
| 131 | + /** |
|
| 132 | + * @param string $clauseName |
|
| 133 | + * @param string $clausePrefix |
|
| 134 | + */ |
|
| 123 | 135 | abstract protected function buildClause( |
| 124 | 136 | /*# string */ $clauseName, |
| 125 | 137 | /*# string */ $clausePrefix, |