public function _initialize()
{
$_GET = array_merge($_GET, $_POST);
$this->curApp = $_GET['a'] ? strtolower(t($_GET['a'])) : 'public';
$this->curType = intval($_GET['t']);
$this->key = str_replace('%', '', t($_GET['k']));
$this->tabkey = t($_GET['tk']);
$this->tabvalue = t($_GET['tv']);
$this->searchModel = ucfirst($this->curApp) . 'Search';
$this->assign('curApp', $this->curApp);
$this->assign('curType', $this->curType);
$this->assign('tabkey', $this->tabkey);
$this->assign('tabvalue', $this->tabvalue);
$this->assign('keyword', $this->key);
$this->assign('jsonKey', json_encode($this->key));
}