Riferimenti per la classe tx_indexedsearch_lexer

Lista di tutti i membri.

Membri pubblici

 tx_indexedsearch_lexer ()
 split2Words ($wordString)
 addWords (&$words, &$wordString, $start, $len)
 get_word (&$str, $pos=0)
 utf8_is_letter (&$str, &$len, $pos=0)
 charType ($cp)
 utf8_ord (&$str, &$len, $pos=0, $hex=false)
 tx_indexedsearch_lexer ()
 split2Words ($wordString)
 addWords (&$words, &$wordString, $start, $len)
 get_word (&$str, $pos=0)
 utf8_is_letter (&$str, &$len, $pos=0)
 charType ($cp)
 utf8_ord (&$str, &$len, $pos=0, $hex=false)
 tx_indexedsearch_lexer ()
 split2Words ($wordString)
 addWords (&$words, &$wordString, $start, $len)
 get_word (&$str, $pos=0)
 utf8_is_letter (&$str, &$len, $pos=0)
 charType ($cp)
 utf8_ord (&$str, &$len, $pos=0, $hex=false)

Attributi pubblici

 $debug = FALSE
 $debugString = ''
 $csObj
 $lexerConf

Descrizione Dettagliata

Definizione alla linea 73 del file class.lexer.php.


Documentazione dei costruttori e dei distruttori

tx_indexedsearch_lexer::tx_indexedsearch_lexer  ) 
 

Constructor: Initializes the charset class, t3lib_cs

Restituisce:
void

Definizione alla linea 105 del file class.lexer.php.

Riferimenti t3lib_div::makeInstance().

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::tx_indexedsearch_lexer  ) 
 

Constructor: Initializes the charset class, t3lib_cs

Restituisce:
void

Definizione alla linea 105 del file class.lexer.php.

Riferimenti t3lib_div::makeInstance().

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::tx_indexedsearch_lexer  ) 
 

Constructor: Initializes the charset class, t3lib_cs

Restituisce:
void

Definizione alla linea 105 del file class.lexer.php.

Riferimenti t3lib_div::makeInstance().

Questo è il grafo delle chiamate per questa funzione:


Documentazione delle funzioni membro

tx_indexedsearch_lexer::addWords &$  words,
&$  wordString,
start,
len
 

Add word to word- array This function should be used to make sure CJK sequences are split up in the right way

Parametri:
array Array of accumulated words
string Complete Input string from where to extract word
integer Start position of word in input string
integer The Length of the word string from start position
Restituisce:
void

Definizione alla linea 178 del file class.lexer.php.

Riferimenti $start, charType(), e utf8_ord().

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::addWords &$  words,
&$  wordString,
start,
len
 

Add word to word- array This function should be used to make sure CJK sequences are split up in the right way

Parametri:
array Array of accumulated words
string Complete Input string from where to extract word
integer Start position of word in input string
integer The Length of the word string from start position
Restituisce:
void

Definizione alla linea 178 del file class.lexer.php.

Riferimenti $start, charType(), e utf8_ord().

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::addWords &$  words,
&$  wordString,
start,
len
 

Add word to word- array This function should be used to make sure CJK sequences are split up in the right way

Parametri:
array Array of accumulated words
string Complete Input string from where to extract word
integer Start position of word in input string
integer The Length of the word string from start position
Restituisce:
void

Definizione alla linea 178 del file class.lexer.php.

Riferimenti $start, charType(), e utf8_ord().

Referenziato da split2Words().

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::charType cp  ) 
 

Determine the type of character

Parametri:
integer Unicode number to evaluate
Restituisce:
array Type of char; index-0: the main type: num, alpha or CJK (Chinese / Japanese / Korean)

Definizione alla linea 329 del file class.lexer.php.

tx_indexedsearch_lexer::charType cp  ) 
 

Determine the type of character

Parametri:
integer Unicode number to evaluate
Restituisce:
array Type of char; index-0: the main type: num, alpha or CJK (Chinese / Japanese / Korean)

Definizione alla linea 329 del file class.lexer.php.

tx_indexedsearch_lexer::charType cp  ) 
 

Determine the type of character

Parametri:
integer Unicode number to evaluate
Restituisce:
array Type of char; index-0: the main type: num, alpha or CJK (Chinese / Japanese / Korean)

Definizione alla linea 329 del file class.lexer.php.

Referenziato da addWords().

tx_indexedsearch_lexer::get_word &$  str,
pos = 0
 

Get the first word in a given utf-8 string (initial non-letters will be skipped)

Parametri:
string Input string (reference)
integer Starting position in input string
Restituisce:
array 0: start, 1: len or false if no word has been found

Definizione alla linea 239 del file class.lexer.php.

Riferimenti $pos.

tx_indexedsearch_lexer::get_word &$  str,
pos = 0
 

Get the first word in a given utf-8 string (initial non-letters will be skipped)

Parametri:
string Input string (reference)
integer Starting position in input string
Restituisce:
array 0: start, 1: len or false if no word has been found

Definizione alla linea 239 del file class.lexer.php.

Riferimenti $pos.

tx_indexedsearch_lexer::get_word &$  str,
pos = 0
 

Get the first word in a given utf-8 string (initial non-letters will be skipped)

Parametri:
string Input string (reference)
integer Starting position in input string
Restituisce:
array 0: start, 1: len or false if no word has been found

Definizione alla linea 239 del file class.lexer.php.

Riferimenti $pos.

Referenziato da split2Words().

tx_indexedsearch_lexer::split2Words wordString  ) 
 

Splitting string into words. Used for indexing, can also be used to find words in query.

Parametri:
string String with UTF-8 content to process.
Restituisce:
array Array of words in utf-8

Definizione alla linea 116 del file class.lexer.php.

Riferimenti $pos, $start, addWords(), debug(), get_word(), e style.

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::split2Words wordString  ) 
 

Splitting string into words. Used for indexing, can also be used to find words in query.

Parametri:
string String with UTF-8 content to process.
Restituisce:
array Array of words in utf-8

Definizione alla linea 116 del file class.lexer.php.

Riferimenti $pos, $start, addWords(), debug(), get_word(), e style.

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::split2Words wordString  ) 
 

Splitting string into words. Used for indexing, can also be used to find words in query.

Parametri:
string String with UTF-8 content to process.
Restituisce:
array Array of words in utf-8

Definizione alla linea 116 del file class.lexer.php.

Riferimenti $pos, $start, addWords(), debug(), get_word(), e style.

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::utf8_is_letter &$  str,
&$  len,
pos = 0
 

See if a character is a letter (or a string of letters or non-letters).

Parametri:
string Input string (reference)
integer Byte-length of character sequence (reference, return value)
integer Starting position in input string
Restituisce:
boolean letter (or word) found

Definizione alla linea 264 del file class.lexer.php.

Riferimenti $pos, e t3lib_div::inList().

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::utf8_is_letter &$  str,
&$  len,
pos = 0
 

See if a character is a letter (or a string of letters or non-letters).

Parametri:
string Input string (reference)
integer Byte-length of character sequence (reference, return value)
integer Starting position in input string
Restituisce:
boolean letter (or word) found

Definizione alla linea 264 del file class.lexer.php.

Riferimenti $pos, e t3lib_div::inList().

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::utf8_is_letter &$  str,
&$  len,
pos = 0
 

See if a character is a letter (or a string of letters or non-letters).

Parametri:
string Input string (reference)
integer Byte-length of character sequence (reference, return value)
integer Starting position in input string
Restituisce:
boolean letter (or word) found

Definizione alla linea 264 del file class.lexer.php.

Riferimenti $pos, e t3lib_div::inList().

Questo è il grafo delle chiamate per questa funzione:

tx_indexedsearch_lexer::utf8_ord &$  str,
&$  len,
pos = 0,
hex = false
 

Converts a UTF-8 multibyte character to a UNICODE codepoint

Parametri:
string UTF-8 multibyte character string (reference)
integer The length of the character (reference, return value)
integer Starting position in input string
boolean If set, then a hex. number is returned
Restituisce:
integer UNICODE codepoint

Definizione alla linea 383 del file class.lexer.php.

Riferimenti $i, e $pos.

tx_indexedsearch_lexer::utf8_ord &$  str,
&$  len,
pos = 0,
hex = false
 

Converts a UTF-8 multibyte character to a UNICODE codepoint

Parametri:
string UTF-8 multibyte character string (reference)
integer The length of the character (reference, return value)
integer Starting position in input string
boolean If set, then a hex. number is returned
Restituisce:
integer UNICODE codepoint

Definizione alla linea 383 del file class.lexer.php.

Riferimenti $i, e $pos.

tx_indexedsearch_lexer::utf8_ord &$  str,
&$  len,
pos = 0,
hex = false
 

Converts a UTF-8 multibyte character to a UNICODE codepoint

Parametri:
string UTF-8 multibyte character string (reference)
integer The length of the character (reference, return value)
integer Starting position in input string
boolean If set, then a hex. number is returned
Restituisce:
integer UNICODE codepoint

Definizione alla linea 383 del file class.lexer.php.

Riferimenti $i, e $pos.

Referenziato da addWords().


Documentazione dei dati membri

tx_indexedsearch_lexer::$csObj
 

Definizione alla linea 79 del file class.lexer.php.

tx_indexedsearch_lexer::$debug = FALSE
 

Definizione alla linea 76 del file class.lexer.php.

tx_indexedsearch_lexer::$debugString = ''
 

Definizione alla linea 77 del file class.lexer.php.

tx_indexedsearch_lexer::$lexerConf
 

Valore iniziale:

 array(
                'printjoins' => array(  // This is the Unicode numbers of chars that are allowed INSIDE a sequence of letter chars (alphanum + CJK)
                        0x2e,   // "."
                        0x2d,   // "-"
                        0x5f,   // "_"
                        0x3a,   // ":"
                        0x2f,   // "/"
                        0x27,   // "'"
                        // 0x615,       // ARABIC SMALL HIGH TAH
                ),
                'casesensitive' => FALSE,       // Set, if case sensitive indexing is wanted.
                'removeChars' => array(         // List of unicode numbers of chars that will be removed before words are returned (eg. "-")
                        0x2d    // "-"
                )
        )

Definizione alla linea 83 del file class.lexer.php.


La documentazione per questa classe è stata generata a partire dai seguenti file:
Generato il Thu Jan 19 15:44:42 2006 per TYPO3 versione 3.8.1 da  doxygen 1.4.6