public function ApacheSolrDocument::__get in Apache Solr Search 8
Same name and namespace in other branches
- 6.3 Apache_Solr_Document.php \ApacheSolrDocument::__get()
- 7 Apache_Solr_Document.php \ApacheSolrDocument::__get()
Magic get for field values
Parameters
string $key:
Return value
mixed
File
- ./
Apache_Solr_Document.php, line 304
Class
- ApacheSolrDocument
- Holds Key / Value pairs that represent a Solr Document along with any associated boost values. Field values can be accessed by direct dereferencing such as:
Code
public function __get($key) {
return $this->_fields[$key];
}