public function Apache_Solr_Document::__get in Apache Solr Search 5
Magic get for field values
Parameters
string $key:
Return value
mixed
File
- SolrPhpClient/
Apache/ Solr/ Document.php, line 52
Class
- Apache_Solr_Document
- Holds Key / Value pairs that represent a Solr Document. Field values can be accessed by direct dereferencing such as: <code> ... $document->title = 'Something'; echo $document->title; ... </code>
Code
public function __get($key) {
return $this->_fields[$key];
}