| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- <?php
- /**
- * @param string $appID
- */
- public function editMiniProgram($appID)
- {
- return $this->loadExtension('zentaobiz')->editMiniProgram($appID);
- }
- /**
- * @param string $appID
- */
- public function createZtAppJson($appID)
- {
- return $this->loadExtension('zentaobiz')->createZtAppJson($appID);
- }
- /**
- * @param string $file
- */
- public function createZtAppZip($file)
- {
- return $this->loadExtension('zentaobiz')->createZtAppZip($file);
- }
- /**
- * @return bool|string
- * @param string $appID
- * @param string $deleted
- */
- public function deleteMiniProgram($appID, $deleted = '1')
- {
- return $this->loadExtension('zentaobiz')->deleteMiniProgram($appID, $deleted);
- }
- /**
- * @return int|bool
- * @param object $knowledge
- * @param bool $skipUpdateExternal
- */
- public function createKnowledge($knowledge, $skipUpdateExternal = false)
- {
- return $this->loadExtension('zentaobiz')->createKnowledge($knowledge, $skipUpdateExternal);
- }
- /**
- * @param object $knowledge
- */
- public function updateExternalKnowledge($knowledge, $knowledgeLib = null)
- {
- return $this->loadExtension('zentaobiz')->updateExternalKnowledge($knowledge, $knowledgeLib);
- }
- /**
- * @param object $knowledge
- * @param int $id
- */
- public function updateKnowledge($id, $knowledge)
- {
- return $this->loadExtension('zentaobiz')->updateKnowledge($id, $knowledge);
- }
- /**
- * @return object|false
- * @param int $id
- */
- public function getKnowledgeItemByID($id)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeItemByID($id);
- }
- /**
- * @param bool|string $skipUpdateExternal
- * @param object $data
- * @param int $id
- */
- public function updateKnowledgeItem($id, $data, $skipUpdateExternal = false)
- {
- return $this->loadExtension('zentaobiz')->updateKnowledgeItem($id, $data, $skipUpdateExternal);
- }
- /**
- * @param bool|string $skipUpdateExternal
- * @return object|false
- * @param object $knowledge
- */
- public function updateKnowledgeItemFromSource($knowledge, $skipUpdateExternal = 'no')
- {
- return $this->loadExtension('zentaobiz')->updateKnowledgeItemFromSource($knowledge, $skipUpdateExternal);
- }
- /**
- * @return object|false
- * @param string $objectType
- * @param int $objectID
- */
- public function getKnowledgeObjectByID($objectType, $objectID)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeObjectByID($objectType, $objectID);
- }
- /**
- * @param int $id
- */
- public function deleteKnowledgeItem($id)
- {
- return $this->loadExtension('zentaobiz')->deleteKnowledgeItem($id);
- }
- /**
- * @param object|bool|null $knowledgeLib
- */
- public function checkKnowledgeLibPriv($knowledgeLib)
- {
- return $this->loadExtension('zentaobiz')->checkKnowledgeLibPriv($knowledgeLib);
- }
- /**
- * @param string $type
- * @param string $category
- * @param string $published
- * @param string $orderBy
- */
- public function getKnowledgeLibs($type = 'my', $category = '', $published = '', $orderBy = 'id_desc', $pager = null)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeLibs($type, $category, $published, $orderBy, $pager);
- }
- /**
- * @return object|false
- * @param int $id
- */
- public function getKnowledgeLibByID($id)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeLibByID($id);
- }
- /**
- * @param mixed[] $ids
- */
- public function getKnowledgeLibsByIDs($ids)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeLibsByIDs($ids);
- }
- /**
- * @return object
- * @param int $libID
- */
- public function getKnowledgeLibStats($libID)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeLibStats($libID);
- }
- /**
- * @param int $libID
- */
- public function getTextFileItems($libID)
- {
- return $this->loadExtension('zentaobiz')->getTextFileItems($libID);
- }
- /**
- * @param int $id
- */
- public function publishKnowledgeLib($id)
- {
- return $this->loadExtension('zentaobiz')->publishKnowledgeLib($id);
- }
- /**
- * @param int $id
- */
- public function unpublishKnowledgeLib($id)
- {
- return $this->loadExtension('zentaobiz')->unpublishKnowledgeLib($id);
- }
- /**
- * @param int $id
- */
- public function deleteKnowledgeLib($id)
- {
- return $this->loadExtension('zentaobiz')->deleteKnowledgeLib($id);
- }
- /**
- * @param string $type
- * @param int $queryID
- * @param string $actionURL
- */
- public function buildKnowledgeLibSearchForm($type, $queryID, $actionURL)
- {
- $this->loadExtension('zentaobiz')->buildKnowledgeLibSearchForm($type, $queryID, $actionURL);
- }
- /**
- * @param string $type
- * @param int $queryID
- * @param string $orderBy
- */
- public function getKnowledgeLibsBySearch($type, $queryID, $orderBy, $pager = null)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeLibsBySearch($type, $queryID, $orderBy, $pager);
- }
- /**
- * @return object
- * @param string $type
- * @param string $category
- * @param string $published
- * @param string $orderBy
- * @param int $param
- * @param int $recTotal
- * @param int $recPerPage
- * @param int $pageID
- */
- public function browseKnowledgeLib($type, $category, $published, $orderBy, $param, $recTotal = 0, $recPerPage = 20, $pageID = 1)
- {
- return $this->loadExtension('zentaobiz')->browseKnowledgeLib($type, $category, $published, $orderBy, $param, $recTotal, $recPerPage, $pageID);
- }
- /**
- * @return int|bool
- * @param object $knowledgeLib
- * @param string $actionType
- */
- public function createKnowledgeLib($knowledgeLib, $actionType = 'created')
- {
- return $this->loadExtension('zentaobiz')->createKnowledgeLib($knowledgeLib, $actionType);
- }
- /**
- * @param object $knowledgeLib
- */
- public function ensureExternalKnowledgeLib($knowledgeLib)
- {
- return $this->loadExtension('zentaobiz')->ensureExternalKnowledgeLib($knowledgeLib);
- }
- /**
- * @param object $knowledgeLib
- * @param int $id
- */
- public function editKnowledgeLib($id, $knowledgeLib)
- {
- return $this->loadExtension('zentaobiz')->editKnowledgeLib($id, $knowledgeLib);
- }
- /**
- * @return int|bool
- * @param object $knowledgeLib
- */
- public function importFromDoc($knowledgeLib)
- {
- return $this->loadExtension('zentaobiz')->importFromDoc($knowledgeLib);
- }
- /**
- * @return int|bool
- * @param object $knowledgeLib
- */
- public function importFromAsset($knowledgeLib)
- {
- return $this->loadExtension('zentaobiz')->importFromAsset($knowledgeLib);
- }
- /**
- * @param string $objectType
- */
- public function buildKnowledgeObjectData($objectType, $source)
- {
- return $this->loadExtension('zentaobiz')->buildKnowledgeObjectData($objectType, $source);
- }
- /**
- * @param string $objectType
- */
- public function prepareMarkdownLangMap($objectType)
- {
- return $this->loadExtension('zentaobiz')->prepareMarkdownLangMap($objectType);
- }
- /**
- * @param int $libID
- * @param string $type
- * @param string $objectType
- * @param string $orderBy
- */
- public function getKnowledgeItems($libID, $type, $objectType, $orderBy = 'id_desc', $pager = null)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeItems($libID, $type, $objectType, $orderBy, $pager);
- }
- /**
- * @param int $libID
- * @param string $objectType
- */
- public function getKnowledgeItemsByObjectType($libID, $objectType, $pager = null)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeItemsByObjectType($libID, $objectType, $pager);
- }
- /**
- * @param object $knowledge
- */
- public function isKnowledgeNeedSync($knowledge)
- {
- return $this->loadExtension('zentaobiz')->isKnowledgeNeedSync($knowledge);
- }
- /**
- * @param int $lib
- * @param string $objectType
- * @param mixed[] $objectIdList
- */
- public function getKnowledgeByObjectIdList($lib, $objectType, $objectIdList)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeByObjectIdList($lib, $objectType, $objectIdList);
- }
- /**
- * @param mixed[] $idList
- */
- public function batchDeleteKnowledgeItem($idList)
- {
- return $this->loadExtension('zentaobiz')->batchDeleteKnowledgeItem($idList);
- }
- /**
- * @param string $objectType
- */
- public function getKnowledgeObjectCols($objectType)
- {
- return $this->loadExtension('zentaobiz')->getKnowledgeObjectCols($objectType);
- }
- /**
- * @param mixed[] $items
- */
- public function prepareReleaseKnowledgeImportList($items)
- {
- return $this->loadExtension('zentaobiz')->prepareReleaseKnowledgeImportList($items);
- }
- /**
- * @param object $knowledgeLib
- */
- public function checkExistKnowledgeLib($knowledgeLib)
- {
- return $this->loadExtension('zentaobiz')->checkExistKnowledgeLib($knowledgeLib);
- }
|