@@ -38,6 +38,11 @@ |
||
| 38 | 38 | { |
| 39 | 39 | protected $title, $description, $date, $link; |
| 40 | 40 | |
| 41 | + /** |
|
| 42 | + * @param string $description |
|
| 43 | + * @param integer $date |
|
| 44 | + * @param string $link |
|
| 45 | + */ |
|
| 41 | 46 | public function __construct($title, $description, $date, $link) |
| 42 | 47 | { |
| 43 | 48 | $this->title = $title; |
@@ -28,6 +28,9 @@ discard block |
||
| 28 | 28 | return $map; |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @return string |
|
| 33 | + */ |
|
| 31 | 34 | public function getDataClass() |
| 32 | 35 | { |
| 33 | 36 | return $this->getField('DataClass'); |
@@ -368,7 +371,7 @@ discard block |
||
| 368 | 371 | * |
| 369 | 372 | * @param array $where Array of strings to add into the WHERE clause |
| 370 | 373 | * @param array $orderby Array of column as key, to direction as value to add into the ORDER BY clause |
| 371 | - * @param string|int $start Record to start at (for paging) |
|
| 374 | + * @param integer $start Record to start at (for paging) |
|
| 372 | 375 | * @param string|int $pageLength Number of results per page (for paging) |
| 373 | 376 | * @param boolean $paged Paged results or not? |
| 374 | 377 | * @return ArrayList|PaginatedList |
@@ -418,7 +421,7 @@ discard block |
||
| 418 | 421 | /** |
| 419 | 422 | * Safely escape a list of "select" candidates for a query |
| 420 | 423 | * |
| 421 | - * @param array $names List of select fields |
|
| 424 | + * @param string[] $names List of select fields |
|
| 422 | 425 | * @return array List of names, with each name double quoted |
| 423 | 426 | */ |
| 424 | 427 | protected function escapeSelect($names) |
@@ -461,6 +464,9 @@ discard block |
||
| 461 | 464 | return $arr; |
| 462 | 465 | } |
| 463 | 466 | |
| 467 | + /** |
|
| 468 | + * @param string $action |
|
| 469 | + */ |
|
| 464 | 470 | public function getTemplateList($action) |
| 465 | 471 | { |
| 466 | 472 | // Add action-specific templates for inheritance chain |