@@ -762,7 +762,7 @@ discard block |
||
| 762 | 762 | |
| 763 | 763 | /** |
| 764 | 764 | * @param SS_HTTPRequest $request |
| 765 | - * @return string HTML |
|
| 765 | + * @return DBHTMLText HTML |
|
| 766 | 766 | */ |
| 767 | 767 | public function treeview($request) { |
| 768 | 768 | return $this->renderWith($this->getTemplatesWithSuffix('_TreeView')); |
@@ -770,7 +770,7 @@ discard block |
||
| 770 | 770 | |
| 771 | 771 | /** |
| 772 | 772 | * @param SS_HTTPRequest $request |
| 773 | - * @return string HTML |
|
| 773 | + * @return DBHTMLText HTML |
|
| 774 | 774 | */ |
| 775 | 775 | public function listview($request) { |
| 776 | 776 | return $this->renderWith($this->getTemplatesWithSuffix('_ListView')); |
@@ -781,7 +781,7 @@ discard block |
||
| 781 | 781 | * Provides a slower but more precise response over SiteTreeHints |
| 782 | 782 | * |
| 783 | 783 | * @param SS_HTTPRequest $request |
| 784 | - * @return SS_HTTPResponse |
|
| 784 | + * @return \SS_HTTPResponse |
|
| 785 | 785 | */ |
| 786 | 786 | public function childfilter($request) { |
| 787 | 787 | // Check valid parent specified |
@@ -961,7 +961,7 @@ discard block |
||
| 961 | 961 | * |
| 962 | 962 | * @param array $data |
| 963 | 963 | * @param Form $form |
| 964 | - * @return SS_HTTPResponse |
|
| 964 | + * @return \SS_HTTPResponse|null |
|
| 965 | 965 | * @throws SS_HTTPResponse_Exception |
| 966 | 966 | */ |
| 967 | 967 | public function save($data, $form) { |
@@ -1091,7 +1091,7 @@ discard block |
||
| 1091 | 1091 | * Actually perform the publication step |
| 1092 | 1092 | * |
| 1093 | 1093 | * @param Versioned|DataObject $record |
| 1094 | - * @return mixed |
|
| 1094 | + * @return \SS_HTTPResponse|null |
|
| 1095 | 1095 | */ |
| 1096 | 1096 | public function performPublish($record) { |
| 1097 | 1097 | if($record && !$record->canPublish()) { |
@@ -1110,7 +1110,7 @@ discard block |
||
| 1110 | 1110 | * |
| 1111 | 1111 | * @param array $data |
| 1112 | 1112 | * @param Form $form |
| 1113 | - * @return SS_HTTPResponse |
|
| 1113 | + * @return \SS_HTTPResponse|null |
|
| 1114 | 1114 | * @throws SS_HTTPResponse_Exception |
| 1115 | 1115 | */ |
| 1116 | 1116 | public function revert($data, $form) { |
@@ -1160,7 +1160,7 @@ discard block |
||
| 1160 | 1160 | * |
| 1161 | 1161 | * @param array $data |
| 1162 | 1162 | * @param Form $form |
| 1163 | - * @return SS_HTTPResponse |
|
| 1163 | + * @return \SS_HTTPResponse|null |
|
| 1164 | 1164 | * @throws SS_HTTPResponse_Exception |
| 1165 | 1165 | */ |
| 1166 | 1166 | public function delete($data, $form) { |
@@ -1190,7 +1190,7 @@ discard block |
||
| 1190 | 1190 | * |
| 1191 | 1191 | * @param array $data |
| 1192 | 1192 | * @param Form $form |
| 1193 | - * @return SS_HTTPResponse |
|
| 1193 | + * @return \SS_HTTPResponse|null |
|
| 1194 | 1194 | * @throws SS_HTTPResponse_Exception |
| 1195 | 1195 | */ |
| 1196 | 1196 | public function archive($data, $form) { |
@@ -1245,7 +1245,7 @@ discard block |
||
| 1245 | 1245 | } |
| 1246 | 1246 | |
| 1247 | 1247 | /** |
| 1248 | - * @return SS_HTTPResponse |
|
| 1248 | + * @return \SS_HTTPResponse|null |
|
| 1249 | 1249 | */ |
| 1250 | 1250 | public function rollback() { |
| 1251 | 1251 | return $this->doRollback(array( |
@@ -1259,7 +1259,7 @@ discard block |
||
| 1259 | 1259 | * |
| 1260 | 1260 | * @param array $data |
| 1261 | 1261 | * @param Form $form |
| 1262 | - * @return SS_HTTPResponse |
|
| 1262 | + * @return \SS_HTTPResponse|null |
|
| 1263 | 1263 | */ |
| 1264 | 1264 | public function doRollback($data, $form) { |
| 1265 | 1265 | $this->extend('onBeforeRollback', $data['ID']); |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * Url handler for add to campaign form |
| 71 | 71 | * |
| 72 | 72 | * @param SS_HTTPRequest $request |
| 73 | - * @return Form |
|
| 73 | + * @return null|\Form |
|
| 74 | 74 | */ |
| 75 | 75 | public function AddToCampaignForm($request) |
| 76 | 76 | { |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * @param int $id |
| 84 | - * @return Form |
|
| 84 | + * @return null|\Form |
|
| 85 | 85 | */ |
| 86 | 86 | public function getAddToCampaignForm($id) |
| 87 | 87 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * @param SS_HTTPRequest $request |
| 60 | - * @return array |
|
| 60 | + * @return \SS_HTTPResponse |
|
| 61 | 61 | */ |
| 62 | 62 | public function show($request) { |
| 63 | 63 | $form = $this->ShowVersionForm($request->param('VersionID')); |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @param SS_HTTPRequest $request |
| 79 | - * @return array |
|
| 79 | + * @return \SS_HTTPResponse |
|
| 80 | 80 | */ |
| 81 | 81 | public function compare($request) { |
| 82 | 82 | $form = $this->CompareVersionsForm( |