SolrDocument::__set

(PECL solr >= 0.9.2)

SolrDocument::__setAdds another field to the document

Описание

public bool SolrDocument::__set ( string $fieldName , string $fieldValue )

Adds another field to the document. Used to set the fields as new properties.

Список параметров

fieldName

Name of the field.

fieldValue

Field value.

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.


Участник рейтинга Тэглайн 2010