| Package | com.elad.framework.autosuggest |
| Interface | public interface IAutoSuggest |
| Implementors | AbstractAutoSuggest |
| Method | Defined by | ||
|---|---|---|---|
|
convertXMLToArray(xml:XML):Array
Converts an xml list into an array.
| IAutoSuggest | ||
|
getKeywordsList():Array
Method to get the list of keyword after the list was sorted.
| IAutoSuggest | ||
|
setKeywordsList(xml:XML):void
Method to feed the list of keywords.
| IAutoSuggest | ||
|
sortList(text:String):Array
method to sort the list of keywords for specific letter/s or word/s.
| IAutoSuggest | ||
| convertXMLToArray | () | method |
public function convertXMLToArray(xml:XML):ArrayConverts an xml list into an array.
Parametersxml:XML — XML which will be converted into an array.
|
Array — An array with the list of words converted from XML.
|
| getKeywordsList | () | method |
public function getKeywordsList():ArrayMethod to get the list of keyword after the list was sorted.
ReturnsArray — An array with the list of words.
|
| setKeywordsList | () | method |
public function setKeywordsList(xml:XML):voidMethod to feed the list of keywords.
Parametersxml:XML — The XML which will be used as original list to sort from.
|
| sortList | () | method |
public function sortList(text:String):Arraymethod to sort the list of keywords for specific letter/s or word/s.
Parameterstext:String — the text string that will be used to sort the list.
|
Array — An array with the sorted list of words.
|