Differential D21520 Diff 51222 src/applications/diffusion/conduit/DiffusionBrowseQueryConduitAPIMethod.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/conduit/DiffusionBrowseQueryConduitAPIMethod.php
| Show First 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | if ($submodules) { | ||||
| $parts = explode('.', $key); | $parts = explode('.', $key); | ||||
| $dict[$key] = $value; | $dict[$key] = $value; | ||||
| } | } | ||||
| foreach ($submodules as $submodule_path) { | foreach ($submodules as $submodule_path) { | ||||
| $full_path = $submodule_path->getFullPath(); | $full_path = $submodule_path->getFullPath(); | ||||
| $key = 'submodule.'.$full_path.'.url'; | $key = 'submodule.'.$full_path.'.url'; | ||||
| if (isset($dict[$key])) { | if (isset($dict[$key])) { | ||||
| $path->setExternalURI($dict[$key]); | $submodule_path->setExternalURI($dict[$key]); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| return $result->setPaths($results); | return $result->setPaths($results); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines | |||||