array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'solrobject.offsetunset.php', 1 => 'SolrObject::offsetUnset', 2 => 'Unsets the value for the property', ), 'up' => array ( 0 => 'class.solrobject.php', 1 => 'SolrObject', ), 'prev' => array ( 0 => 'solrobject.offsetset.php', 1 => 'SolrObject::offsetSet', ), 'next' => array ( 0 => 'class.solrclient.php', 1 => 'SolrClient', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrobject/offsetunset.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

SolrObject::offsetUnset

(PECL solr >= 0.9.2)

SolrObject::offsetUnsetUnsets the value for the property

Açıklama

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.

Bağımsız Değişkenler

property_name

The name of the property.

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner.

Örnekler

Örnek 1 SolrObject::offsetUnset() example

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

Yukarıdaki örnek şuna benzer bir çıktı üretir:

...