@@ -59,6 +59,9 @@ discard block |
||
| 59 | 59 | return $query->execute()->fetchAll(); |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $path |
|
| 64 | + */ |
|
| 62 | 65 | private function getId($storage, $path) { |
| 63 | 66 | $builder = $this->connection->getQueryBuilder(); |
| 64 | 67 | |
@@ -70,6 +73,9 @@ discard block |
||
| 70 | 73 | return $query->execute()->fetchColumn(); |
| 71 | 74 | } |
| 72 | 75 | |
| 76 | + /** |
|
| 77 | + * @param string $newPath |
|
| 78 | + */ |
|
| 73 | 79 | private function update($fileid, $newPath) { |
| 74 | 80 | $builder = $this->connection->getQueryBuilder(); |
| 75 | 81 | |
@@ -180,6 +180,10 @@ discard block |
||
| 180 | 180 | return 'en'; |
| 181 | 181 | } |
| 182 | 182 | |
| 183 | + /** |
|
| 184 | + * @param string $app |
|
| 185 | + * @param string $lang |
|
| 186 | + */ |
|
| 183 | 187 | public function findLocale($app = null, $lang = null) |
| 184 | 188 | { |
| 185 | 189 | if ($this->config->getSystemValue('installed', false)) { |
@@ -367,6 +371,11 @@ discard block |
||
| 367 | 371 | */ |
| 368 | 372 | // FIXME This method is only public, until OC_L10N does not need it anymore, |
| 369 | 373 | // FIXME This is also the reason, why it is not in the public interface |
| 374 | + |
|
| 375 | + /** |
|
| 376 | + * @param string $app |
|
| 377 | + * @param string $lang |
|
| 378 | + */ |
|
| 370 | 379 | public function getL10nFilesForApp($app, $lang) { |
| 371 | 380 | $languageFiles = []; |
| 372 | 381 | |