[ Index ]

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

title

Body

[close]

/search/Zend/Search/Lucene/Search/ -> QueryHit.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: 108 lines (3 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

Zend_Search_Lucene_Search_QueryHit:: (4 methods):
  __construct()
  __get()
  getDocument()
  getIndex()


Class: Zend_Search_Lucene_Search_QueryHit  - X-Ref


__construct(Zend_Search_Lucene_Interface $index)   X-Ref
Constructor - pass object handle of Zend_Search_Lucene_Interface index that produced
the hit so the document can be retrieved easily from the hit.

param: Zend_Search_Lucene_Interface $index

__get($offset)   X-Ref
Convenience function for getting fields from the document
associated with this hit.

param: string $offset
return: string

getDocument()   X-Ref
Return the document object for this hit

return: Zend_Search_Lucene_Document

getIndex()   X-Ref
Return the index object for this hit

return: Zend_Search_Lucene_Interface



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