SolrInputDocument::toArray

(PECL solr >= 0.9.2)

SolrInputDocument::toArrayReturns an array representation of the input document

說明

public SolrInputDocument::toArray(): array

Returns an array representation of the input document.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns an array containing the fields. It returns false on failure.