CLXIII. Swish Functions简介The swish extension provides the bindings for Swish-e API. Swish-e stands for "Simple Web Indexing System for Humans - Enhanced" and is an open source system for indexing and search. Swish-e itself is licensed under GPL license, but uses a clause that allows applications to link against the library if every copy of the combined work is accompanied by the URL to Swish-e source code. Here it is: http://swish-e.org.
需求PECL/swish requires PHP 5.1.3 or newer. 安装安装此 PECL 扩展库的信息可在手册中标题为 PECL 扩展库安装的一章中找到。 更多信息如新版本,下载,源文件,维护者信息以及更新日志等可以在这里找到: http://pecl.php.net/package/swish. The latest PECL/swish Win32 DLL can be downloaded here: php_swish.dll. 运行时配置本扩展模块在 php.ini 中未定义任何配置选项。 范例
上例的输出类似于:
预定义常量以下常量由本扩展模块定义,因此只有在本扩展模块被编译到 PHP 中,或者在运行时被动态加载后才有效。
预定义类预定义类Swish
属性
方法
SwishSearch
方法
SwishResults
属性
方法
SwishResult
属性
方法
SwishExceptionSwishException extends the built in Exception class and possesses the same set of properties and methods. See the 节 called 扩展 PHP 内置的异常处理类 于 20 章 for more details.
There are no user contributed notes for this page. | |||||