Пример #1
0
     return;
 }
 $lang = $request->getQueryParam('lang') ? $request->getQueryParam('lang') : $request->getVocab()->getConfig()->getDefaultLanguage();
 $request->setLang($lang);
 if ($parts[2] == '') {
     $controller->vocabularyInformation($request);
 } elseif ($parts[2] == 'types') {
     $controller->types($request);
 } elseif ($parts[2] == 'topConcepts') {
     $controller->topConcepts($request);
 } elseif ($parts[2] == 'data') {
     $controller->data($request);
 } elseif ($parts[2] == 'search') {
     $controller->search($request);
 } elseif ($parts[2] == 'label') {
     $controller->label($request);
 } elseif ($parts[2] == 'lookup') {
     $controller->lookup($request);
 } elseif ($parts[2] == 'broader') {
     $controller->broader($request);
 } elseif ($parts[2] == 'broaderTransitive') {
     $controller->broaderTransitive($request);
 } elseif ($parts[2] == 'narrower') {
     $controller->narrower($request);
 } elseif ($parts[2] == 'narrowerTransitive') {
     $controller->narrowerTransitive($request);
 } elseif ($parts[2] == 'hierarchy') {
     $controller->hierarchy($request);
 } elseif ($parts[2] == 'children') {
     $controller->children($request);
 } elseif ($parts[2] == 'related') {