SolrObject::getPropertyNames

(PECL solr >= 0.9.2)

SolrObject::getPropertyNamesReturns an array of all the names of the properties

说明

public SolrObject::getPropertyNames ( void ) : array

Returns an array of all the names of the properties

参数

此函数没有参数。

返回值

Returns an array.

User Contributed Notes

dohpaz at nospam dot net 20-May-2010 11:21
It should be noted that when using SolrObject::getPropertyNames(), the array keys have an invisible character that needs to be trim()'d to work correctly.