<?php /* This is a PHP data file */ if (!@$LOADSTRUCT) { die("This is not a program file."); }
return array (
  '_detailPage' => '',
  '_disableAdd' => '0',
  '_disableErase' => '0',
  '_disableModify' => '0',
  '_disablePreview' => '0',
  '_disableView' => '1',
  '_filenameFields' => '',
  '_hideRecordsFromDisabledAccounts' => '0',
  '_indent' => '0',
  '_listPage' => '',
  '_maxRecords' => '',
  '_maxRecordsPerUser' => '',
  '_perPageDefault' => '25',
  '_previewPage' => '',
  '_requiredPlugins' => '',
  '_tableName' => 'man_mobile_devices',
  'listPageFields' => 'num, app_id, platform, nickname, user_num, updatedDate, uuid, device_token',
  'listPageOrder' => 'num DESC',
  'listPageSearchFields' => '_all_',
  'menuHidden' => '0',
  'menuName' => 'Mobile Devices',
  'menuOrder' => '0000000118',
  'menuPrefixIcon' => 'fa-mobile',
  'menuType' => 'multi',
  'tableHidden' => '0',
  'num' => array(
    'order' => 1,
    'label' => 'Device Num',
    'type' => 'none',
    'isSystemField' => '1',
    'indexed' => '0',
  ),
  'createdDate' => array(
    'order' => 2,
    'type' => 'none',
    'label' => 'Created',
    'isSystemField' => '1',
  ),
  'createdByUserNum' => array(
    'order' => 3,
    'type' => 'none',
    'label' => 'Created By',
    'isSystemField' => '1',
  ),
  'updatedDate' => array(
    'order' => 4,
    'type' => 'none',
    'label' => 'Last Updated',
    'isSystemField' => '1',
  ),
  'updatedByUserNum' => array(
    'order' => 5,
    'type' => 'none',
    'label' => 'Last Updated By',
    'isSystemField' => '1',
  ),
  'app_id' => array(
    'order' => 6,
    'label' => 'App ID',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'eg: com.example.appname',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'app_version' => array(
    'order' => 7,
    'label' => 'App Version',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'app_dev_build' => array(
    'order' => '8',
    'label' => 'Dev Build',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => 'tiny',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  '__separator005__' => array(
    'order' => 9,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'header bar',
    'separatorHeader' => 'Device Info',
    'separatorHTML' => '<div class=\'col-sm-2\'>
  Column 1
</div>
<div class=\'col-sm-10\'>
  Column 2
</div>
',
    'isCollapsible' => '',
    'isCollapsed' => '',
  ),
  'nickname' => array(
    'order' => 10,
    'label' => 'Device Nickname',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'This can be manually set for debugging',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => 'small',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'platform' => array(
    'order' => 11,
    'label' => 'Device Platform',
    'type' => 'list',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'isRequired' => '0',
    'isUnique' => '0',
    'listType' => 'pulldown',
    'optionsType' => 'text',
    'optionsText' => 'Android
iOS',
  ),
  'uuid' => array(
    'order' => 12,
    'label' => 'Device UUID',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => 'full',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'device_token' => array(
    'order' => 13,
    'label' => 'Device Token or<br />Registration ID',
    'type' => 'textbox',
    'indexed' => '0',
    'defaultContent' => '',
    'fieldPrefix' => '',
    'description' => '',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'fieldHeight' => '55',
    'autoFormat' => '0',
  ),
  'badge' => array(
    'order' => 14,
    'label' => 'Icon Badge Number',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'Sent to app with next push notification',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => 'tiny',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '3',
    'charsetRule' => 'allow',
    'charset' => '0123456789',
  ),
  'user_num' => array(
    'order' => 15,
    'label' => 'User Num',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => 'Set if used is logged in <?php if (isset($RECORD[\'user_num\'])) { echo " - <a href=\'?menu=" .accountsTable(). "&action=edit&num={$RECORD[\'user_num\']}\'>view user &gt;&gt;</a>"; } ?>',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => 'tiny',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  '__separator002__' => array(
    'order' => 16,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'header bar',
    'separatorHeader' => 'Device Geolocation (only available on supporting apps)',
    'separatorHTML' => '<div class=\'col-sm-2\'>
  
</div>
<div class=\'col-sm-10\'>
 <b></b>
</div>
',
    'isCollapsible' => '',
    'isCollapsed' => '',
  ),
  'latitude' => array(
    'order' => 17,
    'label' => 'Latitude',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => 'small',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'longitude' => array(
    'order' => 18,
    'label' => 'Longitude',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => 'small',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'location_accuracy' => array(
    'order' => 19,
    'label' => 'Location Accuracy',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => 'meters',
    'fieldWidth' => '',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  'location_updated' => array(
    'order' => 20,
    'label' => 'Location Updated',
    'type' => 'textfield',
    'indexed' => '0',
    'defaultValue' => '',
    'fieldPrefix' => '',
    'description' => '<?php if (isset($RECORD[\'location_updated\'])) { echo " (".prettyDate($RECORD[\'location_updated\']).")"; } ?>',
    'fieldAddonBefore' => '',
    'fieldAddonAfter' => '',
    'fieldWidth' => 'small',
    'isPasswordField' => '0',
    'isRequired' => '0',
    'isUnique' => '0',
    'minLength' => '',
    'maxLength' => '',
    'charsetRule' => '',
    'charset' => '',
  ),
  '__separator001__' => array(
    'order' => 21,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<div class=\'col-sm-2\'>
  
</div>
<div class=\'col-sm-10\'>
  *Note: Location is not always available. Users can disable location sharing on an app by app basis.
</div>
',
    'isCollapsible' => '',
    'isCollapsed' => '',
  ),
  '__separator003__' => array(
    'order' => 22,
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'header bar',
    'separatorHeader' => 'Developer Notes',
    'separatorHTML' => '<div class=\'col-sm-2\'>
  Column 1
</div>
<div class=\'col-sm-10\'>
  Column 2
</div>
',
    'isCollapsible' => '',
    'isCollapsed' => '',
  ),
  '__separator004__' => array(
    'order' => '23',
    'label' => '',
    'type' => 'separator',
    'separatorType' => 'html',
    'separatorHeader' => '',
    'separatorHTML' => '<div class=\'col-sm-2\'>
 &nbsp;
</div>
<div class=\'col-sm-10\'>
These values are updated by both the app and the server:<br />
In the app /js/cordovaRpcServer.js:cordovaRPC_registerDevice() sends ajax request to the 
server script: _app_registerDevice.php and may update
all values include the badge number (to reset it after notifications are read).<br />
On the server, scripts may updated the icon badge number to be set next time notifications are sent.
</div>
',
    'isCollapsible' => '',
    'isCollapsed' => '',
  ),
);
?>