[Extension] Yii Wurfl Extension

This is my first time developing Yii extension after using Yii Framework for 2 years.

This is WURFL extension for Yii framework. What you need to do is, you just need to extract the file and put it under extensions folder and add the following code into config/main.php


'wurfl' => array(

'class' => 'application.extensions.wurfl.CWurflComponent',



to use the extension, just simply use Yii::app()->wurfl->getCapability().

For example,

Yii::app()->wurfl->getCapability(‘brand_name’); //to get the brand name,

If any issue, please let me know.

Thank you.