本文整理汇总了PHP中Generic::getPlayStoreVersion方法的典型用法代码示例。如果您正苦于以下问题:PHP Generic::getPlayStoreVersion方法的具体用法?PHP Generic::getPlayStoreVersion怎么用?PHP Generic::getPlayStoreVersion使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Generic
的用法示例。
在下文中一共展示了Generic::getPlayStoreVersion方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getSplashScreen
public function getSplashScreen()
{
if (Efiwebsetting::getData('checkOAuth') == 'yes') {
IMBAuth::checkOAuth();
}
$siteSetting = Efiwebsetting::getData('Splash_Screen');
$result['splash_screen'] = $siteSetting;
$result['version'] = Generic::getPlayStoreVersion();
$this->finish($result);
}
示例2: getAllRestoUser
public function getAllRestoUser()
{
if (Efiwebsetting::getData('checkOAuth') == 'yes') {
IMBAuth::checkOAuth();
}
$id_restaurant = isset($_POST['id_restaurant']) ? addslashes($_POST['id_restaurant']) : "";
if (!$id_restaurant) {
$json['status_code'] = 0;
$json['status_message'] = "No ID Found";
echo json_encode($json);
die;
}
$json = array();
$json['status_code'] = 1;
$objRestoUsers = new RestaurantUserModel();
$arrRestoUsers = $objRestoUsers->getWhere("id_restaurant = '{$id_restaurant}'");
MasterDish::checkCount($arrRestoUsers);
$sem = array();
foreach ($arrRestoUsers as $val) {
$sem["users"][] = RestaurantUser::getRestaurantUser($val->id_user);
}
$resto = new MasterRestaurantModel();
$resto->getByID($id_restaurant);
$sem['now_open'] = $resto->now_open;
$sem['order_number'] = $resto->order_number;
$sem['layout_type'] = $resto->layout_type;
$sem['android_version'] = trim(Generic::getPlayStoreVersion());
$json['results'] = $sem;
echo json_encode($json);
die;
}