SolrDocument::__get
SolrDocument::getFieldCount
SolrDocument
PHP Manual

# SolrDocument::getField

(PECL solr >= 0.9.2)

SolrDocument::getField — Retrieves a field by name

### Opis

public SolrDocumentField SolrDocument::getField ( string `$fieldName` )

Retrieves a field by name.

### Parametry

`fieldName`

  Name of the field.

### Zwracane wartości

Returns a SolrDocumentField on success and `FALSE` on failure.

SolrDocument::__get
SolrDocument::getFieldCount
SolrDocument
PHP Manual