Completed
Push — master ( d90095...c1e7a0 )
by Patrick
03:27
created
Data/class.SQLDataSet.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param array $sort The array to sort by or false to not sort
117
+     * @param boolean $sort The array to sort by or false to not sort
118 118
      */
119 119
     private function getOrderByClause($sort)
120 120
     {
@@ -132,6 +132,9 @@  discard block
 block discarded – undo
132 132
         return $sql;
133 133
     }
134 134
 
135
+    /**
136
+     * @param string $tablename
137
+     */
135 138
     public function read($tablename, $where = false, $select = '*', $count = false, $skip = false, $sort = false)
136 139
     {
137 140
         if($select === false)
@@ -172,6 +175,9 @@  discard block
 block discarded – undo
172 175
         return $ret;
173 176
     }
174 177
 
178
+    /**
179
+     * @param string $tablename
180
+     */
175 181
     function update($tablename, $where, $data)
176 182
     {
177 183
         $set = array();
@@ -194,6 +200,9 @@  discard block
 block discarded – undo
194 200
         return true;
195 201
     }
196 202
 
203
+    /**
204
+     * @param string $tablename
205
+     */
197 206
     function create($tablename, $data)
198 207
     {
199 208
         $set = array();
@@ -217,6 +226,9 @@  discard block
 block discarded – undo
217 226
         return true;
218 227
     }
219 228
 
229
+    /**
230
+     * @param string $tablename
231
+     */
220 232
     function delete($tablename, $where)
221 233
     {
222 234
         $sql = "DELETE FROM $tablename WHERE $where";
Please login to merge, or discard this patch.