Mobi_Mtld_DA_Device_Tree $obj = new Mobi_Mtld_DA_Device_Tree()
Create the JSON tree handler.
void $obj->getDataCreationTimestamp()
Get data file creation timestamp
void $obj->getDataVersion()
Get data file version
string $obj->getLookupSource()
Get the source properties fetch source to be used for debugging.
void $obj->getPropertyNames()
Get the list of all available property names from the tree (not contains client side props)
void $obj->loadTreeFromFile()
Load the JSON tree file into the handler.
void $obj->loadTreeFromString()
Load the JSON tree into the handler.
void $obj->putProperties(userAgent user-agent, stockUserAgents list, clientside may)
Get properties from tree walk/ua/client-side and put them in the tree.properties
void $obj->putTreeWalkProperties(userAgent user-agent, stockUserAgents list)
Get properties from tree walk/ua and put them in the tree.properties if stockUserAgents != null - iterate over stockUserAgents for each item: tree-walk and stop iteration if result has deviceId - use userAgent for detecting the ua-props if stockUserAgents == null - use userAgent for tree walk - use userAgent for detecting the ua-props
void $obj->setConfig(type $config)
Set new config settings via a new Config object.