PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Swish->prepare> <Swish->getMetaList
Last updated: Fri, 03 Oct 2008

view this page in

Swish->getPropertyList

(No version information available, might be only in CVS)

Swish->getPropertyListRécupère la liste de propriété pour un index

Description

array Swish->getPropertyList ( string $index_name )
Avertissement

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

Liste de paramètres

index_name

Le nom du fichier d'index.

Valeurs de retour

Retourne un tableau de propriétés pour un index donné.

Exemples

Exemple #1 Exemple simple avec Swish->getPropertyList()

<?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";
}

?>

L'exemple ci-dessus va afficher quelque chose de similaire à :

swishreccount
swishrank
swishfilenum
swishdbfile
swishdocpath
swishtitle
swishdocsize
swishlastmodified



add a note add a note User Contributed Notes
Swish->getPropertyList
There are no user contributed notes for this page.

Swish->prepare> <Swish->getMetaList
Last updated: Fri, 03 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites