This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README | Wed Dec 24 02:26:48 -0800 2008 | |
| |
Wurfl.php | Wed Dec 24 02:24:36 -0800 2008 | |
| |
wurfl-config.xml | Wed Dec 24 02:25:44 -0800 2008 |
README
CodeIgniter WURFL Wrapper Class Needs the WURFL API from: http://m.wurflpro.com/~wurfl/php/ Put the WURFL directory into your libraries directory, either in your applications directory, or in the main system directory. Put wurfl-config.xml into your application's config directory, and modify as needed. If you are using file storage as the caching method, you may need to make the cache directory set in wurfl-config.xml writable. You will also need to define where wurfl.xml and web_browsers_patch.xml are located. You can use the following code: <?php $this->load->library('wurfl'); $this->wurfl->load('USER_AGENT_HERE'); ?> You can also pass the $_SERVER variable to $this->wurfl->load() To get capabilities, you should do the following: $this->wurfl->getCapability('max_data_rate'); OR $this->wurfl->getAllCapabilities(); There are other methods available, which should be fairly self explanatory.







