@@ -17,6 +17,7 @@ discard block |
||
17 | 17 | |
18 | 18 | /** |
19 | 19 | * This is a constructor; a default method that will be called automatically during class instantiation. |
20 | + * @param string|false $modelClassName |
|
20 | 21 | */ |
21 | 22 | public function __construct($modelClassName, $dbConn = null) |
22 | 23 | { |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | * This method create a record and store it in a table row. |
34 | 35 | * |
35 | 36 | * @params associative array, string tablename |
37 | + * @param string|false $tableName |
|
36 | 38 | * |
37 | 39 | * @return bool true or false |
38 | 40 | */ |
@@ -92,6 +94,7 @@ discard block |
||
92 | 94 | * This method updates any table by supplying 3 parameter. |
93 | 95 | * |
94 | 96 | * @params: $updateParams, $tableName, $associative1DArray |
97 | + * @param string|false $tableName |
|
95 | 98 | * |
96 | 99 | * @return bool true or false |
97 | 100 | */ |
@@ -138,6 +141,7 @@ discard block |
||
138 | 141 | * This method retrieves record from a table. |
139 | 142 | * |
140 | 143 | * @params int id, string tableName |
144 | + * @param string|false $tableName |
|
141 | 145 | * |
142 | 146 | * @return array |
143 | 147 | */ |
@@ -169,6 +173,7 @@ discard block |
||
169 | 173 | * This method deletes a record from a table row. |
170 | 174 | * |
171 | 175 | * @params int id, string tableName |
176 | + * @param string|false $tableName |
|
172 | 177 | * |
173 | 178 | * @return bool true or false |
174 | 179 | */ |
@@ -213,7 +218,7 @@ discard block |
||
213 | 218 | /** |
214 | 219 | * This method returns sql query. |
215 | 220 | * |
216 | - * @param $sql |
|
221 | + * @param string $sql |
|
217 | 222 | * |
218 | 223 | * @return string |
219 | 224 | */ |