... 源码: sdk/php/util/XSDataSource.class.php#L990 (显示) public function process($data, $cs = false){ echo "\n----- DEBUG DATA INFO -----\n"; print_r($data); return $data;} processDoc() 方法 public void processDoc($doc) $doc 源码: sdk/php/util/XSD...
process() 方法 public void process($data, $cs=false) $data $cs 源码: sdk/php/util/XSDataSource.class.php#L990 (显示) public function process($data, $cs = false){ echo "\n----- DEBUG DATA INFO -----\n"; print_r($data); return $data;}
...aram mixed $cs 数据字符集, 如无法确定则为 false */ public function process($data, $cs); } 中 public function process($data, $cs); 改为public function process($data, $cs = false); FreeBSD 8.2-RELEASE #0 Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17 OpenSSL/0.9.8q DAV/2 PHP/5.2.17...
...引 源码: sdk/php/util/XSDataSource.class.php#L969 (显示) public function process($data, $cs = false); 字段数据处理函数
...引 源码: sdk/php/util/XSDataSource.class.php#L969 (显示) public function process($data, $cs = false); 字段数据处理函数 processDoc() 方法 (自版本 v1.3.4 起可用) abstract public void processDoc(XSDocument $doc) $doc XSDocument 索引文档 源码: sd...
...的数据 源码: sdk/php/lib/XSSearch.class.php#L846 (显示) public function highlight($value, $strtr = false){ // return empty value directly if (empty($value)) { return $value; } // initlize the highlight replacements if (!is_array($this->_highlight)) { $this->i...
...如下: [code]class MyBlogFilter implements XSDataFilter { public function process($data, $cs =false) { $data['content'] = $this->filterHtml($data['content']); return $data; } public function filterHtml($str) { $str=eregi_...
...滤器, 即: class XSXyzFilter implements XSDataFilter { public function process($data, $cs) { print_r($data); return $data; } } 仍然不行,哎!
...destruct() 源码: sdk/php/lib/XSIndex.class.php#L528 (显示) public function __destruct(){ if ($this->_rebuild === true) { try { $this->endRebuild(); } catch (Exception $e) { } } foreach (self::$_adds as $srv) { $srv->close(); } ...
... 直接修改XSDataSource.class.php 文件最后一个函数。 public function process($data, $cs=false) { //echo "\n----- DEBUG DATA INFO -----\n"; //print_r(str_replace('--', '', $data['content'])); $data['content']=str_replace("", '', $data['content']); $data['content']=s...