@@ -80,6 +80,12 @@ discard block |
||
80 | 80 | return $namespace.'\\'.$daoClassName; |
81 | 81 | } |
82 | 82 | |
83 | + /** |
|
84 | + * @param string $namespace |
|
85 | + * @param string $className |
|
86 | + * @param string $moduleName |
|
87 | + * @param string $targetDirectory |
|
88 | + */ |
|
83 | 89 | public function generateBean($fields, $namespace, $className, $moduleName, $targetDirectory) |
84 | 90 | { |
85 | 91 | |
@@ -204,7 +210,6 @@ discard block |
||
204 | 210 | * Returns a unique identifier from the name. |
205 | 211 | * |
206 | 212 | * @param $name |
207 | - * @param array $usedNames |
|
208 | 213 | */ |
209 | 214 | private function getUniqueIdentifier($name, array $usedIdentifiers) { |
210 | 215 | $id = self::camelCase($name); |
@@ -219,6 +224,15 @@ discard block |
||
219 | 224 | } |
220 | 225 | } |
221 | 226 | |
227 | + /** |
|
228 | + * @param string $namespace |
|
229 | + * @param string $className |
|
230 | + * @param string $daoClassName |
|
231 | + * @param string $moduleName |
|
232 | + * @param string $targetDirectory |
|
233 | + * @param string $moduleSingular |
|
234 | + * @param string $modulePlural |
|
235 | + */ |
|
222 | 236 | public function generateDao($fields, $namespace, $className, $daoClassName, $moduleName, $targetDirectory, $moduleSingular, $modulePlural) |
223 | 237 | { |
224 | 238 | // if (class_exists($namespace."\\".$className)) { |
@@ -334,6 +348,10 @@ discard block |
||
334 | 348 | return $str; |
335 | 349 | } |
336 | 350 | |
351 | + /** |
|
352 | + * @param string $description |
|
353 | + * @param string $type |
|
354 | + */ |
|
337 | 355 | private static function registerProperty(PhpClass $class, $name, $description, $type) |
338 | 356 | { |
339 | 357 | if (!$class->hasProperty($name)) { |
@@ -85,6 +85,7 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * Implements getFields API method. |
87 | 87 | * |
88 | + * @param string $module |
|
88 | 89 | * @return Response The Response object |
89 | 90 | */ |
90 | 91 | public function getFields($module) |
@@ -144,7 +145,7 @@ discard block |
||
144 | 145 | * @param $sortOrderString |
145 | 146 | * @param \DateTime $lastModifiedTime |
146 | 147 | * @param $selectColumns |
147 | - * @param $fromIndex |
|
148 | + * @param integer $fromIndex |
|
148 | 149 | * @param $toIndex |
149 | 150 | * |
150 | 151 | * @return Response The Response object |
@@ -210,10 +211,10 @@ discard block |
||
210 | 211 | * Implements getRecords API method. |
211 | 212 | * |
212 | 213 | * @param $module |
213 | - * @param $id |
|
214 | - * @param $parentModule |
|
215 | - * @param null $fromIndex |
|
216 | - * @param null $toIndex |
|
214 | + * @param string $id |
|
215 | + * @param string $parentModule |
|
216 | + * @param integer $fromIndex |
|
217 | + * @param integer $toIndex |
|
217 | 218 | * |
218 | 219 | * @return Response |
219 | 220 | * |
@@ -242,7 +243,7 @@ discard block |
||
242 | 243 | * @param int $fromIndex |
243 | 244 | * @param int $toIndex |
244 | 245 | * @param \DateTime $lastModifiedTime |
245 | - * @param null $selectColumns |
|
246 | + * @param string|null $selectColumns |
|
246 | 247 | * |
247 | 248 | * @return Response |
248 | 249 | * |
@@ -309,6 +310,7 @@ discard block |
||
309 | 310 | * @param bool $wfTrigger |
310 | 311 | * @param int $duplicateCheck |
311 | 312 | * @param bool $isApproval |
313 | + * @param \SimpleXMLElement $xmlData |
|
312 | 314 | * |
313 | 315 | * @return Response |
314 | 316 | * |
@@ -361,8 +363,8 @@ discard block |
||
361 | 363 | * Implements uploadFile API method. |
362 | 364 | * |
363 | 365 | * @param $module |
364 | - * @param $id |
|
365 | - * @param $content |
|
366 | + * @param string $id |
|
367 | + * @param string $content |
|
366 | 368 | * |
367 | 369 | * @return Response |
368 | 370 | * |
@@ -380,7 +382,7 @@ discard block |
||
380 | 382 | * Implements downloadFile API method. |
381 | 383 | * |
382 | 384 | * @param $module |
383 | - * @param $id |
|
385 | + * @param string $id |
|
384 | 386 | * |
385 | 387 | * @return Response |
386 | 388 | * |
@@ -406,9 +408,7 @@ discard block |
||
406 | 408 | * |
407 | 409 | * @param string $module The module to use |
408 | 410 | * @param string $command Command to call |
409 | - * @param array $params Options |
|
410 | - * @param \SimpleXMLElement|string $data Data to send [optional] |
|
411 | - * @param array $options Options to add for configurations [optional] |
|
411 | + * @param array $postParams Options |
|
412 | 412 | * |
413 | 413 | * @return Response |
414 | 414 | */ |
@@ -444,7 +444,7 @@ discard block |
||
444 | 444 | /** |
445 | 445 | * Get the current request uri. |
446 | 446 | * |
447 | - * @param $module The module to use |
|
447 | + * @param string $module The module to use |
|
448 | 448 | * @param string $command Command for get uri |
449 | 449 | * |
450 | 450 | * @return string |