Completed
Push — master ( 9060a0...3152a4 )
by Hong
02:38
created
src/Phossa2/Query/Traits/Clause/ColTrait.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Phossa2/Query/Traits/Clause/WhereTrait.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -388,10 +388,22 @@
 block discarded – undo
388 388
         return $this->joinClause($clause, '', $result, $settings);
389 389
     }
390 390
 
391
+    /**
392
+     * @return boolean
393
+     */
391 394
     abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */;
392 395
     abstract protected function processValue($value)/*# : string */;
396
+
397
+    /**
398
+     * @param string $clauseName
399
+     */
393 400
     abstract protected function &getClause(/*# string */ $clauseName)/*# : array */;
394 401
     abstract protected function quoteItem($item, array $settings, /*# bool */ $rawMode = false)/*# : string */;
402
+
403
+    /**
404
+     * @param string $prefix
405
+     * @param string $seperator
406
+     */
395 407
     abstract protected function joinClause(
396 408
         /*# : string */ $prefix,
397 409
         /*# : string */ $seperator,
Please login to merge, or discard this patch.