在线文档教程
PHP
Solr

SolrObject::offsetExists

SolrObject::offsetExists

(PECL solr >= 0.9.2)

SolrObject::offsetExists — Checks if the property exists

Description

public bool SolrObject::offsetExists ( string $property_name )

Checks if the property exists. This is used when the object is treated as an array.

Parameters

property_name

The name of the property.

Return Values

Returns TRUE on success or FALSE on failure.

← SolrObject::getPropertyNames

SolrObject::offsetGet →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrobject.offsetexists.php