SolrDocument
PHP Manual

SolrDocument::key

(PECL solr >= 0.9.2)

SolrDocument::keyRetrieves the current key

Description

public string SolrDocument::key ( void )

Retrieves the current key.

Parameters

This function has no parameters.

Return Values

Returns the current key.


SolrDocument
PHP Manual