[ Index ]

PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008]

title

Body

[close]

/search/Zend/Search/Lucene/ -> Document.php (summary)

Zend Framework LICENSE

Copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
License: http://framework.zend.com/license/new-bsd New BSD License
File Size: 121 lines (3 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

Zend_Search_Lucene_Document:: (6 methods):
  __get()
  addField()
  getFieldNames()
  getField()
  getFieldValue()
  getFieldUtf8Value()


Class: Zend_Search_Lucene_Document  - X-Ref

A Document is a set of fields. Each field has a name and a textual value.

__get($offset)   X-Ref
Proxy method for getFieldValue(), provides more convenient access to
the string value of a field.

param: $offset
return: string

addField(Zend_Search_Lucene_Field $field)   X-Ref
Add a field object to this document.

param: Zend_Search_Lucene_Field $field

getFieldNames()   X-Ref
Return an array with the names of the fields in this document.

return: array

getField($fieldName)   X-Ref
Returns Zend_Search_Lucene_Field object for a named field in this document.

param: string $fieldName
return: Zend_Search_Lucene_Field

getFieldValue($fieldName)   X-Ref
Returns the string value of a named field in this document.

return: string

getFieldUtf8Value($fieldName)   X-Ref
Returns the string value of a named field in UTF-8 encoding.

return: string



Generated: Wed Jan 14 11:33:29 2009 Cross-referenced by PHPXref 0.7