apps/comments/lib/Activity/Provider.php 1 location
|
@@ 197-205 (lines=9) @@
|
| 194 |
|
* @param string $path |
| 195 |
|
* @return array |
| 196 |
|
*/ |
| 197 |
|
protected function generateFileParameter($id, $path) { |
| 198 |
|
return [ |
| 199 |
|
'type' => 'file', |
| 200 |
|
'id' => $id, |
| 201 |
|
'name' => basename($path), |
| 202 |
|
'path' => $path, |
| 203 |
|
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]), |
| 204 |
|
]; |
| 205 |
|
} |
| 206 |
|
|
| 207 |
|
/** |
| 208 |
|
* @param string $uid |
apps/files_sharing/lib/Activity/Providers/Groups.php 1 location
|
@@ 223-231 (lines=9) @@
|
| 220 |
|
* @param string $path |
| 221 |
|
* @return array |
| 222 |
|
*/ |
| 223 |
|
protected function generateFileParameter($id, $path) { |
| 224 |
|
return [ |
| 225 |
|
'type' => 'file', |
| 226 |
|
'id' => $id, |
| 227 |
|
'name' => basename($path), |
| 228 |
|
'path' => $path, |
| 229 |
|
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]), |
| 230 |
|
]; |
| 231 |
|
} |
| 232 |
|
|
| 233 |
|
/** |
| 234 |
|
* @param string $uid |
apps/files_sharing/lib/Activity/Providers/PublicLinks.php 1 location
|
@@ 230-238 (lines=9) @@
|
| 227 |
|
* @param string $path |
| 228 |
|
* @return array |
| 229 |
|
*/ |
| 230 |
|
protected function generateFileParameter($id, $path) { |
| 231 |
|
return [ |
| 232 |
|
'type' => 'file', |
| 233 |
|
'id' => $id, |
| 234 |
|
'name' => basename($path), |
| 235 |
|
'path' => $path, |
| 236 |
|
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]), |
| 237 |
|
]; |
| 238 |
|
} |
| 239 |
|
|
| 240 |
|
/** |
| 241 |
|
* @param string $uid |
apps/files_sharing/lib/Activity/Providers/Users.php 1 location
|
@@ 251-259 (lines=9) @@
|
| 248 |
|
* @param string $path |
| 249 |
|
* @return array |
| 250 |
|
*/ |
| 251 |
|
protected function generateFileParameter($id, $path) { |
| 252 |
|
return [ |
| 253 |
|
'type' => 'file', |
| 254 |
|
'id' => $id, |
| 255 |
|
'name' => basename($path), |
| 256 |
|
'path' => $path, |
| 257 |
|
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]), |
| 258 |
|
]; |
| 259 |
|
} |
| 260 |
|
|
| 261 |
|
/** |
| 262 |
|
* @param string $uid |
apps/files_sharing/lib/Activity/Providers/Downloads.php 1 location
|
@@ 178-186 (lines=9) @@
|
| 175 |
|
* @param string $path |
| 176 |
|
* @return array |
| 177 |
|
*/ |
| 178 |
|
protected function generateFileParameter($id, $path) { |
| 179 |
|
return [ |
| 180 |
|
'type' => 'file', |
| 181 |
|
'id' => $id, |
| 182 |
|
'name' => basename($path), |
| 183 |
|
'path' => $path, |
| 184 |
|
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]), |
| 185 |
|
]; |
| 186 |
|
} |
| 187 |
|
} |
| 188 |
|
|
apps/files_sharing/lib/Activity/Providers/RemoteShares.php 1 location
|
@@ 200-208 (lines=9) @@
|
| 197 |
|
* @param string $path |
| 198 |
|
* @return array |
| 199 |
|
*/ |
| 200 |
|
protected function generateFileParameter($id, $path) { |
| 201 |
|
return [ |
| 202 |
|
'type' => 'file', |
| 203 |
|
'id' => $id, |
| 204 |
|
'name' => basename($path), |
| 205 |
|
'path' => $path, |
| 206 |
|
'link' => $this->url->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $id]), |
| 207 |
|
]; |
| 208 |
|
} |
| 209 |
|
} |
| 210 |
|
|