內容簡介
使用 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. 的註冊商標,位於美國弗吉尼亞州雷斯頓。
外掛標籤
開發者團隊
原文外掛簡介
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
