PHP 8.4.2 Released!

SolrObject::offsetUnset

(PECL solr >= 0.9.2)

SolrObject::offsetUnsetUnsets the value for the property

Descrizione

public SolrObject::offsetUnset(string $property_name): void

Unsets the value for the property. This is used when the object is treated as an array. This object is read-only. This should never be attempted.

Elenco dei parametri

property_name

The name of the property.

Valori restituiti

Restituisce true in caso di successo, false in caso di fallimento.

Esempi

Example #1 SolrObject::offsetUnset() example

<?php
/* ... */
?>

Il precedente esempio visualizzerà qualcosa simile a:

...

add a note

User Contributed Notes

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