浏览代码

Minor - Code style
Add prefix to call to XapianIndexer from learnpathItem

Yannick Warnier 11 年之前
父节点
当前提交
ca4fc9d7c1
共有 2 个文件被更改,包括 2995 次插入1800 次删除
  1. 3 2
      main/inc/lib/search/xapian/XapianIndexer.class.php
  2. 2992 1798
      main/newscorm/learnpathItem.class.php

+ 3 - 2
main/inc/lib/search/xapian/XapianIndexer.class.php

@@ -186,8 +186,9 @@ abstract class XapianIndexer {
     /**
      * Replace all terms of a document in xapian db
      *
-     * @param   int     did     Xapian::docid
-     * @param   array   terms   New terms of the document
+     * @param   int     $did     Xapian::docid
+     * @param   array   $terms   New terms of the document
+     * @param   string  $prefix  Prefix used to categorize the doc (usually 'T' for title, 'A' for author)
      * @return  boolean false on error
      */
     function update_terms($did, $terms, $prefix) {

文件差异内容过多而无法显示
+ 2992 - 1798
main/newscorm/learnpathItem.class.php


部分文件因为文件数量过多而无法显示