PHP Doku:: Adds another field to the document - solrdocument.set.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSuchmaschinenerweiterungenApache SolrThe SolrDocument classSolrDocument::__set

Ein Service von Reinhard Neidl - Webprogrammierung.

The SolrDocument class

<<SolrDocument::serialize

SolrDocument::sort>>

SolrDocument::__set

(PECL solr >= 0.9.2)

SolrDocument::__setAdds another field to the document

Beschreibung

public bool SolrDocument::__set ( string $fieldName , string $fieldValue )

Adds another field to the document. Used to set the fields as new properties.

Parameter-Liste

fieldName

Name of the field.

fieldValue

Field value.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)