| @@ 33-43 (lines=11) @@ | ||
| 30 | * @param Content $object |
|
| 31 | * @return string |
|
| 32 | */ |
|
| 33 | public function render(Content $object = NULL) |
|
| 34 | { |
|
| 35 | $uri = BackendUtility::getModuleUrl( |
|
| 36 | 'record_edit', |
|
| 37 | array( |
|
| 38 | $this->getEditParameterName($object) => 'edit', |
|
| 39 | 'returnUrl' => $this->getModuleLoader()->getModuleUrl() |
|
| 40 | ) |
|
| 41 | ); |
|
| 42 | return $uri; |
|
| 43 | } |
|
| 44 | ||
| 45 | /** |
|
| 46 | * @param Content $object |
|
| @@ 132-142 (lines=11) @@ | ||
| 129 | * @param Content $object |
|
| 130 | * @return string |
|
| 131 | */ |
|
| 132 | protected function getEditUri(Content $object) |
|
| 133 | { |
|
| 134 | $uri = BackendUtility::getModuleUrl( |
|
| 135 | 'record_edit', |
|
| 136 | array( |
|
| 137 | $this->getEditParameterName($object) => 'edit', |
|
| 138 | 'returnUrl' => $this->getModuleLoader()->getModuleUrl() |
|
| 139 | ) |
|
| 140 | ); |
|
| 141 | return $uri; |
|
| 142 | } |
|
| 143 | ||
| 144 | /** |
|
| 145 | * @param Content $object |
|