@@ -284,6 +284,9 @@ discard block |
||
| 284 | 284 | } |
| 285 | 285 | } |
| 286 | 286 | |
| 287 | + /** |
|
| 288 | + * @param string $link |
|
| 289 | + */ |
|
| 287 | 290 | public function LinkWithSearch($link) { |
| 288 | 291 | // Whitelist to avoid side effects |
| 289 | 292 | $params = array( |
@@ -766,7 +769,7 @@ discard block |
||
| 766 | 769 | |
| 767 | 770 | /** |
| 768 | 771 | * @param SS_HTTPRequest $request |
| 769 | - * @return string HTML |
|
| 772 | + * @return DBHTMLText HTML |
|
| 770 | 773 | */ |
| 771 | 774 | public function treeview($request) { |
| 772 | 775 | return $this->renderWith($this->getTemplatesWithSuffix('_TreeView')); |
@@ -774,7 +777,7 @@ discard block |
||
| 774 | 777 | |
| 775 | 778 | /** |
| 776 | 779 | * @param SS_HTTPRequest $request |
| 777 | - * @return string HTML |
|
| 780 | + * @return DBHTMLText HTML |
|
| 778 | 781 | */ |
| 779 | 782 | public function listview($request) { |
| 780 | 783 | return $this->renderWith($this->getTemplatesWithSuffix('_ListView')); |
@@ -1095,7 +1098,7 @@ discard block |
||
| 1095 | 1098 | * Actually perform the publication step |
| 1096 | 1099 | * |
| 1097 | 1100 | * @param Versioned|DataObject $record |
| 1098 | - * @return mixed |
|
| 1101 | + * @return SS_HTTPResponse|null |
|
| 1099 | 1102 | */ |
| 1100 | 1103 | public function performPublish($record) { |
| 1101 | 1104 | if($record && !$record->canPublish()) { |