Class Zend_Search_Lucene_Search_QueryTokenizer

Description

Implements interfaces:

  • Iterator (internal interface)

  • license: New BSD License
  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Search/Lucene/Search/QueryTokenizer.php (line 37)


	
			
Variable Summary
integer $_currToken
array $_tokens
Method Summary
Zend_Search_Lucene_Search_QueryTokenizer __construct (string $inputString)
integer count ()
mixed current ()
integer key ()
integer rewind ()
boolean valid ()
Variables
integer $_currToken = 0 (line 51)

tokens pointer.

  • access: protected
array $_tokens = array() (line 44)

inputString tokens.

  • access: protected
Methods
Constructor __construct (line 59)

QueryTokenize constructor needs query string as a parameter.

  • access: public
Zend_Search_Lucene_Search_QueryTokenizer __construct (string $inputString)
  • string $inputString
count (line 111)

Returns number of tokens

  • access: public
integer count ()
current (line 145)

Returns the token at the current position or FALSE if the position does not contain a valid token.

  • access: public
mixed current ()

Implementation of:
Iterator::current
key (line 167)

Return the position of the current token.

  • access: public
integer key ()

Implementation of:
Iterator::key
next (line 156)

Returns next token

  • access: public

Implementation of:
Iterator::next
rewind (line 133)

Resets token stream.

  • access: public
integer rewind ()

Implementation of:
Iterator::rewind
valid (line 122)

Returns TRUE if a token exists at the current position.

  • access: public
boolean valid ()

Implementation of:
Iterator::valid

Documentation generated on Sun, 29 Oct 2006 21:27:29 -0600 by phpDocumentor 1.3.0RC6