@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | protected $controller; |
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | - * @return mixed |
|
| 129 | + * @return string |
|
| 130 | 130 | */ |
| 131 | 131 | public function getTypeForGridfield() |
| 132 | 132 | { |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | * looks for templates that match BlockClassName_AreaName |
| 238 | 238 | * falls back to BlockClassName. |
| 239 | 239 | * |
| 240 | - * @return string |
|
| 240 | + * @return DBHTMLText |
|
| 241 | 241 | **/ |
| 242 | 242 | public function forTemplate() |
| 243 | 243 | { |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | } |
| 254 | 254 | |
| 255 | 255 | /** |
| 256 | - * @return string |
|
| 256 | + * @return DBHTMLText |
|
| 257 | 257 | */ |
| 258 | 258 | public function BlockHTML() |
| 259 | 259 | { |
@@ -428,7 +428,7 @@ discard block |
||
| 428 | 428 | /** |
| 429 | 429 | * Check if this block has been published. |
| 430 | 430 | * |
| 431 | - * @return bool True if this page has been published. |
|
| 431 | + * @return string True if this page has been published. |
|
| 432 | 432 | */ |
| 433 | 433 | public function isPublishedNice() |
| 434 | 434 | { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | class Block extends DataObject implements PermissionProvider |
| 35 | 35 | { |
| 36 | 36 | |
| 37 | - private static $table_name = 'Block'; |
|
| 37 | + private static $table_name = 'Block'; |
|
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | 40 | * @var array |
@@ -126,7 +126,7 @@ |
||
| 126 | 126 | /** |
| 127 | 127 | * Returns a list of pages this BlockSet features on. |
| 128 | 128 | * |
| 129 | - * @return DataList |
|
| 129 | + * @return \SilverStripe\ORM\DataList |
|
| 130 | 130 | */ |
| 131 | 131 | public function Pages() |
| 132 | 132 | { |
@@ -89,8 +89,8 @@ |
||
| 89 | 89 | $fields->removeFieldFromTab('Root', 'Blocks'); |
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | - * @todo - change relation editor back to the custom block manager config and fix issues when 'creating' Blocks from a BlockSet. |
|
| 93 | - */ |
|
| 92 | + * @todo - change relation editor back to the custom block manager config and fix issues when 'creating' Blocks from a BlockSet. |
|
| 93 | + */ |
|
| 94 | 94 | $gridConfig = GridFieldConfig_RelationEditor::create(); |
| 95 | 95 | $gridConfig->addComponent(new GridFieldOrderableRows('Sort')); |
| 96 | 96 | $gridConfig->addComponent(new GridFieldDeleteAction()); |