(No version information available, might be only in CVS)
Swish->getPropertyList — Get the list of properties for the index
本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。
The name of the index file.
Returns an array of properties for the given index.
Example #1 Basic Swish->getPropertyList() example
<?php
try {
$swish = new Swish("index.swish-e");
$properties = $swish->getPropertyList("index.swish-e");
foreach ($properties as $prop) {
echo $prop["Name"],"\n";
}
} catch (SwishException $e) {
echo $e->getMessage(), "\n";
}
?>
上例的输出类似于:
swishreccount swishrank swishfilenum swishdbfile swishdocpath swishtitle swishdocsize swishlastmodified