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

Class: WURFL_DeviceRepositoryBuilder

Source Location: /DeviceRepositoryBuilder.php

Class Overview


Builds a WURFL_DeviceRepository


Methods



Class Details

[line 23]
Builds a WURFL_DeviceRepository



[ Top ]


Class Methods


constructor __construct [line 53]

WURFL_DeviceRepositoryBuilder __construct( WURFL_Storage_Base $persistenceProvider, WURFL_UserAgentHandlerChain $userAgentHandlerChain, WURFL_Xml_DevicePatcher $devicePatcher)



Tags:

access:  public


Parameters:

WURFL_Storage_Base   $persistenceProvider  
WURFL_UserAgentHandlerChain   $userAgentHandlerChain  
WURFL_Xml_DevicePatcher   $devicePatcher  

[ Top ]

method build [line 66]

WURFL_CustomDeviceRepository build( string $wurflFile, [array $wurflPatches = array()], [array $capabilityFilter = array()])

Builds DeviceRepository in PersistenceProvider from $wurflFile and $wurflPatches using $capabilityFilter



Tags:

access:  public


Parameters:

string   $wurflFile   Filename of wurfl.xml or other complete WURFL file
array   $wurflPatches   Array of WURFL patch files
array   $capabilityFilter   Array of capabilities to be included in the DeviceRepository

[ Top ]


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