@@ -37,6 +37,11 @@ |
||
37 | 37 | |
38 | 38 | protected $title, $description, $date, $link; |
39 | 39 | |
40 | + /** |
|
41 | + * @param string $description |
|
42 | + * @param integer $date |
|
43 | + * @param string $link |
|
44 | + */ |
|
40 | 45 | public function __construct($title, $description, $date, $link) { |
41 | 46 | $this->title = $title; |
42 | 47 | $this->description = $description; |
@@ -26,6 +26,9 @@ discard block |
||
26 | 26 | return $map; |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @return string |
|
31 | + */ |
|
29 | 32 | public function getDataClass() { |
30 | 33 | return $this->getField('DataClass'); |
31 | 34 | } |
@@ -345,7 +348,7 @@ discard block |
||
345 | 348 | * |
346 | 349 | * @param array $where Array of strings to add into the WHERE clause |
347 | 350 | * @param array $orderby Array of column as key, to direction as value to add into the ORDER BY clause |
348 | - * @param string|int $start Record to start at (for paging) |
|
351 | + * @param integer $start Record to start at (for paging) |
|
349 | 352 | * @param string|int $pageLength Number of results per page (for paging) |
350 | 353 | * @param boolean $paged Paged results or not? |
351 | 354 | * @return ArrayList|PaginatedList |
@@ -394,7 +397,7 @@ discard block |
||
394 | 397 | /** |
395 | 398 | * Safely escape a list of "select" candidates for a query |
396 | 399 | * |
397 | - * @param array $names List of select fields |
|
400 | + * @param string[] $names List of select fields |
|
398 | 401 | * @return array List of names, with each name double quoted |
399 | 402 | */ |
400 | 403 | protected function escapeSelect($names) { |
@@ -433,6 +436,9 @@ discard block |
||
433 | 436 | return $arr; |
434 | 437 | } |
435 | 438 | |
439 | + /** |
|
440 | + * @param string $action |
|
441 | + */ |
|
436 | 442 | public function getTemplateList($action) { |
437 | 443 | // Add action-specific templates for inheritance chain |
438 | 444 | $templates = array(); |