首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

SolrObject (class)

Introduction

(PECL solr >= 0.9.2)

This is an object whose properties can also by accessed using the array syntax. All its properties are read-only.

Class synopsis

final SolrObject implements ArrayAccess {

/* Methods */

代码语言:javascript
复制
public __construct ( void )
代码语言:javascript
复制
public void __destruct ( void )
代码语言:javascript
复制
public array getPropertyNames ( void )
代码语言:javascript
复制
public bool offsetExists ( string $property_name )
代码语言:javascript
复制
public mixed offsetGet ( string $property_name )
代码语言:javascript
复制
public void offsetSet ( string $property_name , string $property_value )
代码语言:javascript
复制
public void offsetUnset ( string $property_name )

}

Table of Contents

  • SolrObject::__construct — Creates Solr object
  • SolrObject::__destruct — Destructor
  • SolrObject::getPropertyNames — Returns an array of all the names of the properties
  • SolrObject::offsetExists — Checks if the property exists
  • SolrObject::offsetGet — Used to retrieve a property
  • SolrObject::offsetSet — Sets the value for a property
  • SolrObject::offsetUnset — Unsets the value for the property

← SolrDocumentField::__destruct

SolrObject::__construct →

代码语言:txt
复制
 © 1997–2017 The PHP Documentation Group

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

扫码关注腾讯云开发者

领取腾讯云代金券