Completed
Push — master ( 439406...4b2726 )
by Hong
03:09
created
src/Phossa2/Query/Traits/Clause/ClauseTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
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/OrderByTrait.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -101,10 +101,23 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Phossa2/Query/Traits/Clause/WhereTrait.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -372,8 +372,17 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.