WurflCloud_Client_Client::getDeviceCapability
Returns the value of the requested capability. If the capability does not exist, returns null.
Signature
public function getDeviceCapability(string
$capability )
Parameters
$capability
— string- The WURFL capability (e.g. "is_wireless_device")
Returns
- mixed
- Value of requested $capability or null if not found
Errors/Exceptions
-
WurflCloud_Client_InvalidCapabilityException
- The requested capability is invalid or unavailable