[WordPress] 外掛分享: WURFL Capabilities

首頁外掛目錄 › WURFL Capabilities
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
★★★☆☆
3/5 分(1 則評價)
4770 天前
最後更新
問題解決
WordPress 3.5+ v0.3.4 上架:2013-03-18

內容簡介

使用 WURFL 暴露出用戶瀏覽器的能力。查看 http://wurfl.sourceforge.net/help_doc.php 以獲取完整的能力檢查列表。需要 FTP 存取權才能上傳 WURFL 資料庫

一些公開的初始方法如下:

is_wireless_device
is_tablet
is_touch
supports_borderradius
supports_gradients
pointing_method
getCapability (指向相同名稱的 WURFL API 方法,傳入您想要獲取的能力參數。有關這些參數名稱,請參閱幫助文件鏈接)

示例用法:$wurflcap->is_touch();

如果有問題,請提供逐步重現的說明,以便我及時解決問題。

請注意http://wurfl.sourceforge.net/license.php 上的許可證。

WURFL 是 ScientiaMobile, Inc. 的註冊商標,位於美國弗吉尼亞州雷斯頓。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WURFL Capabilities」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Using WURFL to expose capabilities of your users browser. See http://wurfl.sourceforge.net/help_doc.php for full list of capability checking. FTP access is needed to upload the wurfl database
Some initial methods that are exposed are:

is_wireless_device
is_tablet
is_touch
supports_borderradius
supports_gradients
pointing_method
getCapability (points to the WURFL API method of the same name, pass in the param of capability you’d like to get. See the help doc link for those param names)

Example usage: $wurflcap->is_touch();
If something fails, please provide step by step instructions on how to reproduce so that I may address the issue in a timely manner.
Please be aware of the licensing at http://wurfl.sourceforge.net/license.php
WURFL is the registered trademark of ScientiaMobile, Inc., Reston, VA, USA

延伸相關外掛

文章
Filter
Apply Filters
Mastodon