+ finishe the feature of manauge module of custo doc lib.

This commit is contained in:
wangchunsheng
2010-07-29 06:39:50 +00:00
parent 75ac6fb719
commit 17e9fa7312
5 changed files with 60 additions and 47 deletions
+5
View File
@@ -45,4 +45,9 @@ class docModel extends model
$libs = $this->dao->select('id, name')->from(TABLE_DOCLIB)->fetchPairs();
return $this->lang->doc->systemLibs + $libs;
}
public function getLibById($libID)
{
return $this->dao->select('*')->from(TABLE_DOCLIB)->fetch();
}
}