## 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 ()
Zend_Search_Lucene_Search_QueryToken next ()
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 102)

Returns number of tokens

- access: public

integer count ()
current (line 136)

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 158)

Return the position of the current token.

- access: public

integer key ()

Implementation of:

Iterator::key

next (line 147)

Returns next token

- access: public

Zend_Search_Lucene_Search_QueryToken next ()

Implementation of:

Iterator::next

rewind (line 124)

Resets token stream.

- access: public

integer rewind ()

Implementation of:

Iterator::rewind

valid (line 113)

Returns TRUE if a token exists at the current position.

- access: public

boolean valid ()

Implementation of:

Iterator::valid

Documentation generated on Tue, 11 Jul 2006 12:17:57 -0500 by phpDocumentor 1.3.0RC6