Class ZSearchQueryTokenizer

Description

Implements interfaces:

Located in /incubator/Zend/Search/Lucene/search/ZSearchQueryTokenizer.php (line 35)


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

tokens pointer.

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

inputString tokens.

  • access: protected
Methods
Constructor __construct (line 57)

QueryTokenize constructor needs query string as a parameter.

  • access: public
ZSearchQueryTokenizer __construct (string $inputString)
  • string $inputString
count (line 100)

Returns number of tokens

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

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

  • access: public
mixed current ()
key (line 156)

Return the position of the current token.

  • access: public
integer key ()
next (line 145)

Returns next token

  • access: public
rewind (line 122)

Resets token stream.

  • access: public
integer rewind ()
valid (line 111)

Returns TRUE if a token exists at the current position.

  • access: public
boolean valid ()

Documentation generated on Wed, 08 Mar 2006 04:56:54 -0800 by phpDocumentor 1.3.0RC4