UAInspector.ShortCode

Utility module to handle (piwik) short codes.

Source

Summary

device_brand(brand, arg2)

Converts device brands between their :short and :long representation

os_name(name, arg2)

Converts OS names between their :short and :long representation

Functions

device_brand(brand, arg2)

Specs:

Converts device brands between their :short and :long representation.

Unknown brands are returned unmodified.

Source
os_name(name, arg2)

Specs:

Converts OS names between their :short and :long representation.

Unknown names are returned unmodified.

Source