PHP Manual

  • English French German Portuguese Spanish
PHP-Handbuch Funktionsreferenz Suchmaschinenerweiterungen Solr SolrDocument SolrDocument::offsetExists
SolrDocument SolrDocument::addField SolrDocument::clear SolrDocument::__clone SolrDocument::__construct SolrDocument::current SolrDocument::deleteField SolrDocument::__destruct SolrDocument::fieldExists SolrDocument::__get SolrDocument::getField SolrDocument::getFieldCount SolrDocument::getFieldNames SolrDocument::getInputDocument SolrDocument::__isset SolrDocument::key SolrDocument::merge SolrDocument::next SolrDocument::offsetExists SolrDocument::offsetGet SolrDocument::offsetSet SolrDocument::offsetUnset SolrDocument::reset SolrDocument::rewind SolrDocument::serialize SolrDocument::__set SolrDocument::sort SolrDocument::toArray SolrDocument::unserialize SolrDocument::__unset SolrDocument::valid
  • SolrDocument::next
  • SolrDocument::offsetGet

SolrDocument::offsetExists

(PECL solr >= 0.9.2)

SolrDocument::offsetExists — Checks if a particular field exists

Beschreibung

public bool SolrDocument::offsetExists ( string $fieldName )

Checks if a particular field exists. This is used when the object is treated as an array.

Parameter-Liste

fieldName

The name of the field.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.