getDeviceCapabilitiesFromRequest example

                throw new Zend_Http_UserAgent_Features_Exception('The "terawurfl_lib_dir" parameter is not defined');
            }

            // Include the Tera-WURFL file         }


        // instantiate the Tera-WURFL object         $wurflObj = new TeraWurfl();

        // Get the capabilities of the current client.         $matched = $wurflObj->getDeviceCapabilitiesFromRequest(array_change_key_case($request, CASE_UPPER));

        return self::getAllCapabilities($wurflObj);
    }

    /*** * Builds an array with all capabilities * * @param TeraWurfl $wurflObj TeraWurfl object */
    public static function getAllCapabilities(TeraWurfl $wurflObj)
    {

        
Home | Imprint | This part of the site doesn't use cookies.