* Merge Code.
This commit is contained in:
+14
-15
@@ -84,21 +84,20 @@ class api extends control
|
||||
$this->api->buildSearchForm($lib, $queryID, $actionURL, $libs);
|
||||
}
|
||||
|
||||
$this->view->title = $this->lang->api->pageTitle;
|
||||
$this->view->lib = $lib;
|
||||
$this->view->libID = $libID;
|
||||
$this->view->libs = $libs;
|
||||
$this->view->release = $release;
|
||||
$this->view->objectType = $objectType;
|
||||
$this->view->objectID = $objectID;
|
||||
$this->view->moduleID = $moduleID;
|
||||
$this->view->version = $version;
|
||||
$this->view->apiList = $browseType == 'bySearch' ? $this->api->getApiListBySearch($libID, $queryID, '', array_keys($libs)) : $this->api->getListByModuleID($libID, $moduleID, $release);
|
||||
$this->view->libTree = $this->doc->getLibTree($libID, $libs, 'api', $moduleID, $objectID, $browseType, (int)$param);
|
||||
$this->view->objectDropdown = isset($libs[$libID]) ? $this->apiZen->generateLibsDropMenu($libs[$libID], $release) : '';
|
||||
$this->view->spaceType = 'api';
|
||||
$this->view->linkParams = '%s';
|
||||
$this->view->defaultNestedShow = $this->apiZen->getDefaultNestedShow($libID, $moduleID);
|
||||
$this->view->title = $this->lang->api->pageTitle;
|
||||
$this->view->lib = $lib;
|
||||
$this->view->libID = $libID;
|
||||
$this->view->libs = $libs;
|
||||
$this->view->release = $release;
|
||||
$this->view->objectType = $objectType;
|
||||
$this->view->objectID = $objectID;
|
||||
$this->view->moduleID = $moduleID;
|
||||
$this->view->version = $version;
|
||||
$this->view->apiList = $browseType == 'bySearch' ? $this->api->getApiListBySearch($libID, $queryID, '', array_keys($libs)) : $this->api->getListByModuleID($libID, $moduleID, $release);
|
||||
$this->view->libTree = $this->doc->getLibTree($libID, $libs, 'api', $moduleID, $objectID, $browseType, (int)$param);
|
||||
$this->view->objectDropdown = isset($libs[$libID]) ? $this->apiZen->generateLibsDropMenu($libs[$libID], $release) : '';
|
||||
$this->view->spaceType = 'api';
|
||||
$this->view->linkParams = '%s';
|
||||
$this->display();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user