Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrDocument::fieldExistsSolrDocument::getChildDocuments>
^SolrDocumentLast updated: Mon, 26 Oct 2026

SolrDocument::__get

(PECL solr >= 0.9.2)

SolrDocument::__get — Access the field as a property

Description

public function SolrDocument::__get(string $fieldName): SolrDocumentField

Magic method for accessing the field as a property.

Parameters

fieldName

The name of the field.

Return Values

Returns a SolrDocumentField instance.


<SolrDocument::fieldExistsSolrDocument::getChildDocuments>
^SolrDocumentLast updated: Mon, 26 Oct 2026