(PECL swish >= 0.1.0)
Swish::getPropertyList — Get the list of properties for the index
$index_name
   )Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.
index_nameThe name of the index file.
Returns an array of properties for the given index.
Beispiel #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";
}
?>
Das oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
swishreccount swishrank swishfilenum swishdbfile swishdocpath swishtitle swishdocsize swishlastmodified