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

Class: WURFL_WURFLService

Source Location: /WURFLService.php

Class Overview


WURFL Service


Methods



Class Details

[line 24]
WURFL Service



[ Top ]


Class Methods


constructor __construct [line 39]

WURFL_WURFLService __construct( WURFL_DeviceRepository $deviceRepository, WURFL_UserAgentHandlerChain $userAgentHandlerChain, WURFL_Storage $cacheProvider)



Tags:

access:  public


Parameters:

WURFL_DeviceRepository   $deviceRepository  
WURFL_UserAgentHandlerChain   $userAgentHandlerChain  
WURFL_Storage   $cacheProvider  

[ Top ]

method getAllDevicesID [line 81]

array getAllDevicesID( )

Returns all devices ID present in WURFL



Tags:

return:  of strings
access:  public


[ Top ]

method getCapabilitiesNameForGroup [line 101]

void getCapabilitiesNameForGroup( $groupId)



Tags:

access:  public


Parameters:

   $groupId  

[ Top ]

method getDevice [line 72]

WURFL_Xml_ModelDevice getDevice( string $deviceID)

Retun a WURFL_Xml_ModelDevice for the given device id



Tags:

access:  public


Parameters:

string   $deviceID  

[ Top ]

method getDeviceForRequest [line 60]

WURFL_CustomDevice getDeviceForRequest( WURFL_Request_GenericRequest $request)

Returns the Device for the given WURFL_Request_GenericRequest



Tags:

access:  public


Parameters:

WURFL_Request_GenericRequest   $request  

[ Top ]

method getDeviceHierarchy [line 92]

array getDeviceHierarchy( string $deviceID)

Returns an array of all the fall back devices starting from the given device



Tags:

access:  public


Parameters:

string   $deviceID  

[ Top ]

method getListOfGroups [line 96]

void getListOfGroups( )



Tags:

access:  public


[ Top ]

method getWURFLInfo [line 50]

WURFL_Xml_Info getWURFLInfo( )

Returns the version info about the loaded WURFL



Tags:

return:  WURFL Version info
see:  WURFL_DeviceRepository::getWURFLInfo()
access:  public


[ Top ]


Documentation generated on Fri, 30 Mar 2012 17:17:01 -0400 by phpDocumentor 1.4.4