WURFL
[ class tree: WURFL ] [ index: WURFL ] [ all elements ]

Class: WURFL_CapabilitiesHolder

Source Location: /CapabilitiesHolder.php

Class Overview


Holds WURFL Device capabilities


Methods



Class Details

[line 22]
Holds WURFL Device capabilities



[ Top ]


Class Methods


constructor __construct [line 42]

WURFL_CapabilitiesHolder __construct( WURFL_Xml_ModelDevice $device, WURFL_DeviceRepository $deviceRepository, WURFL_Cache_CacheProvider $cacheProvider)



Tags:

access:  public


Parameters:

WURFL_Xml_ModelDevice   $device  
WURFL_DeviceRepository   $deviceRepository  
WURFL_Cache_CacheProvider   $cacheProvider  

[ Top ]

method getAllCapabilities [line 80]

array getAllCapabilities( )

Returns all the capabilities value of the current device as <capabilityName, capabilityValue>



Tags:

return:  All capabilities
access:  public


[ Top ]

method getCapability [line 55]

string getCapability( string $capabilityName)

Returns the value of a given capability name



Tags:

return:  Capability value
throws:  WURFLException if the value of the $capability name is illegal
access:  public


Parameters:

string   $capabilityName  

[ Top ]


Documentation generated on Thu, 03 Oct 2013 19:11:48 +0000 by phpDocumentor 1.4.4