Add getLangListByLangcodeForAutoComplete() method

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8970 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-08-31 09:44:46 +00:00
parent 4148def54a
commit 10d7bbc4d4

View file

@ -1388,5 +1388,16 @@
return $xml_file;
}
function getLangListByLangcodeForAutoComplete() {
$keyword = Context::get('search_keyword');
$list = array(
array('name'=>'key1', 'value'=>'value1'),
array('name'=>'key2', 'value'=>'value2'),
array('name'=>'key3', 'value'=>'value3')
);
$this->add('results', $list);
}
}
?>