public function _tab_menu()
{
// 取全部APP信息
$map['status'] = 1;
$appList = model('App')->where($map)->field('app_name')->findAll();
// 获取APP的HASH数组
foreach ($appList as $app) {
$appName = strtolower($app['app_name']);
$className = ucfirst($appName);
$dao = D($className . 'Protocol', strtolower($className), false);
if (method_exists($dao, 'profileContent')) {
$appArr[$appName] = L('PUBLIC_APPNAME_' . $appName);
}
unset($dao);
}
$this->assign('appArr', $appArr);
return $appArr;
}