public function getFormattedDeviceProperties()
{
$data = array(_("Id") => $this->id, _("Policy Key") => $this->policykey, _("User Agent") => $this->userAgent);
if (!empty($this->properties[self::MODEL])) {
$data[_("Model")] = $this->properties[self::MODEL];
}
if (!empty($this->properties[self::IMEI])) {
$data[_("IMEI")] = $this->properties[self::IMEI];
}
if (!empty($this->properties[self::NAME])) {
$data[_("Common Name")] = $this->properties[self::NAME];
}
if (!empty($this->properties[self::OPERATOR])) {
$data[_("Mobile Operator")] = $this->properties[self::OPERATOR];
}
if (!empty($this->properties[self::OS])) {
$data[_("OS")] = $this->properties[self::OS];
}
if (!empty($this->properties[self::OS_LANGUAGE])) {
$data[_("OS Language")] = $this->properties[self::OS_LANGUAGE];
}
if (!empty($this->properties[self::PHONE_NUMBER])) {
$data[_("Phone Number")] = $this->properties[self::PHONE_NUMBER];
}
if (!empty($this->properties[self::VERSION])) {
$data[_("EAS Version")] = $this->properties[self::VERSION];
}
if (!empty($this->properties[self::MULTIPLEX])) {
$data[_("Forced Multiplexed Bitmask")] = $this->properties[self::MULTIPLEX];
}
return $data;
}