CakeFest 2024: The Official CakePHP Conference

SolrDocument::offsetSet

(PECL solr >= 0.9.2)

SolrDocument::offsetSetAjoute un champ au document

Description

public SolrDocument::offsetSet(string $fieldName, string $fieldValue): void

Utilisé lorsque l'objet est traité comme un tableau, pour ajouter un champ au document.

Liste de paramètres

fieldName

Le nom du champ.

fieldValue

Le valeur du champ.

Valeurs de retour

Cette fonction retourne true en cas de succès ou false si une erreur survient.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top