+ add the feature of switch doc lib.

This commit is contained in:
wangchunsheng
2010-07-29 07:09:10 +00:00
parent 17e9fa7312
commit 290a646cc2
2 changed files with 16 additions and 2 deletions
+1 -2
View File
@@ -35,9 +35,8 @@ class doc extends control
}
/* 浏览某一个产品。*/
public function browse($libID = 0, $browseType = 'byModule', $param = 0, $orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
public function browse($libID = 'product', $orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
if($libID == 0) $libID = key($this->libs);
$this->doc->setMenu($this->libs, $libID);
$this->display();
}