/
var
/
www
/
html
/
sugar13
/
cache
/
modules
/
PushNotifications
/
Upload File
HOME
<?php $GLOBALS["dictionary"]["PushNotification"]=array ( 'table' => 'push_notifications', 'fields' => array ( 'id' => array ( 'name' => 'id', 'vname' => 'LBL_ID', 'type' => 'id', 'required' => true, 'reportable' => true, 'duplicate_on_record_copy' => 'no', 'comment' => 'Unique identifier', 'mandatory_fetch' => true, ), 'name' => array ( 'name' => 'name', 'vname' => 'LBL_NAME', 'type' => 'name', 'dbType' => 'varchar', 'len' => 255, 'unified_search' => true, 'full_text_search' => array ( 'enabled' => true, 'searchable' => true, 'boost' => 1.55, ), 'required' => true, 'importable' => 'required', 'duplicate_merge' => 'enabled', 'merge_filter' => 'selected', 'duplicate_on_record_copy' => 'always', ), 'date_entered' => array ( 'name' => 'date_entered', 'vname' => 'LBL_DATE_ENTERED', 'type' => 'datetime', 'group' => 'created_by_name', 'comment' => 'Date record created', 'enable_range_search' => true, 'options' => 'date_range_search_dom', 'studio' => array ( 'portaleditview' => false, ), 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'massupdate' => false, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, ), ), 'date_modified' => array ( 'name' => 'date_modified', 'vname' => 'LBL_DATE_MODIFIED', 'type' => 'datetime', 'group' => 'modified_by_name', 'comment' => 'Date record last modified', 'enable_range_search' => true, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, 'sortable' => true, ), 'studio' => array ( 'portaleditview' => false, ), 'options' => 'date_range_search_dom', 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'massupdate' => false, ), 'modified_user_id' => array ( 'name' => 'modified_user_id', 'rname' => 'user_name', 'id_name' => 'modified_user_id', 'vname' => 'LBL_MODIFIED', 'type' => 'assigned_user_name', 'table' => 'users', 'isnull' => false, 'group' => 'modified_by_name', 'dbType' => 'id', 'reportable' => true, 'comment' => 'User who last modified record', 'massupdate' => false, 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, 'type' => 'id', 'aggregations' => array ( 'modified_user_id' => array ( 'type' => 'MyItems', 'label' => 'LBL_AGG_MODIFIED_BY_ME', ), ), ), 'processes' => array ( 'types' => array ( 'RR' => false, 'ALL' => true, ), ), ), 'modified_by_name' => array ( 'name' => 'modified_by_name', 'vname' => 'LBL_MODIFIED', 'type' => 'relate', 'reportable' => false, 'source' => 'non-db', 'rname' => 'full_name', 'table' => 'users', 'id_name' => 'modified_user_id', 'module' => 'Users', 'link' => 'modified_user_link', 'duplicate_merge' => 'disabled', 'massupdate' => false, 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'sort_on' => array ( 0 => 'last_name', ), 'exportable' => true, ), 'created_by' => array ( 'name' => 'created_by', 'rname' => 'user_name', 'id_name' => 'modified_user_id', 'vname' => 'LBL_CREATED', 'type' => 'assigned_user_name', 'table' => 'users', 'isnull' => false, 'dbType' => 'id', 'group' => 'created_by_name', 'comment' => 'User who created record', 'massupdate' => false, 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, 'type' => 'id', 'aggregations' => array ( 'created_by' => array ( 'type' => 'MyItems', 'label' => 'LBL_AGG_CREATED_BY_ME', ), ), ), 'processes' => array ( 'types' => array ( 'RR' => false, 'ALL' => true, ), ), ), 'created_by_name' => array ( 'name' => 'created_by_name', 'vname' => 'LBL_CREATED', 'type' => 'relate', 'reportable' => false, 'link' => 'created_by_link', 'rname' => 'full_name', 'source' => 'non-db', 'table' => 'users', 'id_name' => 'created_by', 'module' => 'Users', 'duplicate_merge' => 'disabled', 'massupdate' => false, 'duplicate_on_record_copy' => 'no', 'readonly' => true, 'sort_on' => array ( 0 => 'last_name', ), 'exportable' => true, ), 'description' => array ( 'name' => 'description', 'vname' => 'LBL_DESCRIPTION', 'type' => 'text', 'comment' => 'Full text of the note', 'full_text_search' => array ( 'enabled' => true, 'searchable' => true, 'boost' => 0.5, ), 'rows' => 6, 'cols' => 80, 'duplicate_on_record_copy' => 'always', ), 'deleted' => array ( 'name' => 'deleted', 'vname' => 'LBL_DELETED', 'type' => 'bool', 'default' => '0', 'reportable' => false, 'duplicate_on_record_copy' => 'no', 'comment' => 'Record deletion indicator', ), 'created_by_link' => array ( 'name' => 'created_by_link', 'type' => 'link', 'relationship' => 'pushnotifications_created_by', 'vname' => 'LBL_CREATED_USER', 'link_type' => 'one', 'module' => 'Users', 'bean_name' => 'User', 'source' => 'non-db', 'side' => 'right', ), 'modified_user_link' => array ( 'name' => 'modified_user_link', 'type' => 'link', 'relationship' => 'pushnotifications_modified_user', 'vname' => 'LBL_MODIFIED_USER', 'link_type' => 'one', 'module' => 'Users', 'bean_name' => 'User', 'source' => 'non-db', 'side' => 'right', ), 'activities' => array ( 'name' => 'activities', 'type' => 'link', 'relationship' => 'pushnotification_activities', 'vname' => 'LBL_ACTIVITY_STREAM', 'link_type' => 'many', 'module' => 'Activities', 'bean_name' => 'Activity', 'source' => 'non-db', ), 'is_sent' => array ( 'name' => 'is_sent', 'vname' => 'LBL_IS_SENT', 'type' => 'bool', 'default' => 0, 'comments' => 'Whether notification is sent or not.', ), 'notification_type' => array ( 'name' => 'notification_type', 'type' => 'varchar', 'len' => 255, 'vname' => 'LBL_NOTIFICATION_TYPE', 'comment' => 'Type of notification, eg, record_assignment.', ), 'parent_type' => array ( 'name' => 'parent_type', 'vname' => 'LBL_PARENT_TYPE', 'type' => 'parent_type', 'dbType' => 'varchar', 'group' => 'parent_name', 'options' => 'parent_type_display', 'len' => 100, 'comment' => 'Module notification is associated with.', ), 'parent_id' => array ( 'name' => 'parent_id', 'vname' => 'LBL_PARENT_ID', 'type' => 'id', 'group' => 'parent_name', 'reportable' => false, 'comment' => 'ID of item indicated by parent_type.', ), 'extra_data' => array ( 'name' => 'extra_data', 'type' => 'text', 'vname' => 'LBL_EXTRA_DATA', 'comment' => 'JSON encoded string containing extra data.', ), 'following' => array ( 'massupdate' => false, 'name' => 'following', 'vname' => 'LBL_FOLLOWING', 'type' => 'bool', 'source' => 'non-db', 'comment' => 'Is user following this record', 'studio' => 'false', 'link' => 'following_link', 'rname' => 'id', 'rname_exists' => true, ), 'following_link' => array ( 'name' => 'following_link', 'type' => 'link', 'relationship' => 'pushnotifications_following', 'source' => 'non-db', 'vname' => 'LBL_FOLLOWING', 'reportable' => false, ), 'my_favorite' => array ( 'massupdate' => false, 'name' => 'my_favorite', 'vname' => 'LBL_FAVORITE', 'type' => 'bool', 'source' => 'non-db', 'comment' => 'Favorite for the user', 'studio' => array ( 'list' => false, 'recordview' => false, 'basic_search' => false, 'advanced_search' => false, ), 'link' => 'favorite_link', 'rname' => 'id', 'rname_exists' => true, ), 'favorite_link' => array ( 'name' => 'favorite_link', 'type' => 'link', 'relationship' => 'pushnotifications_favorite', 'source' => 'non-db', 'vname' => 'LBL_FAVORITE', 'reportable' => false, 'workflow' => false, 'full_text_search' => array ( 'type' => 'favorites', 'enabled' => true, 'searchable' => false, 'aggregations' => array ( 'favorite_link' => array ( 'type' => 'MyItems', 'options' => array ( 'field' => 'user_favorites', ), ), ), ), ), 'locked_fields' => array ( 'name' => 'locked_fields', 'vname' => 'LBL_LOCKED_FIELDS', 'type' => 'locked_fields', 'link' => 'locked_fields_link', 'source' => 'non-db', 'module' => 'pmse_BpmProcessDefinition', 'relate_collection' => true, 'studio' => false, 'massupdate' => false, 'exportable' => false, 'sortable' => false, 'rname' => 'pro_locked_variables', 'collection_fields' => array ( 0 => 'pro_locked_variables', ), 'full_text_search' => array ( 'enabled' => false, 'searchable' => false, ), 'hideacl' => true, ), 'locked_fields_link' => array ( 'name' => 'locked_fields_link', 'type' => 'link', 'vname' => 'LBL_LOCKED_FIELDS_LINK', 'relationship' => 'pushnotifications_locked_fields', 'source' => 'non-db', 'exportable' => false, 'duplicate_merge' => 'disabled', ), 'sync_key' => array ( 'is_sync_key' => true, 'name' => 'sync_key', 'vname' => 'LBL_SYNC_KEY', 'type' => 'varchar', 'enforced' => '', 'required' => false, 'massupdate' => false, 'readonly' => true, 'default' => NULL, 'isnull' => true, 'no_default' => false, 'comments' => 'External default id of the remote integration record', 'help' => '', 'importable' => 'true', 'duplicate_merge' => 'disabled', 'merge_filter' => 'disabled', 'duplicate_on_record_copy' => 'no', 'audited' => true, 'reportable' => true, 'unified_search' => false, 'calculated' => false, 'len' => '100', 'size' => '20', 'studio' => array ( 'recordview' => true, 'wirelessdetailview' => true, 'listview' => false, 'wirelesseditview' => false, 'wirelesslistview' => false, 'wireless_basic_search' => false, 'wireless_advanced_search' => false, 'portallistview' => false, 'portalrecordview' => false, 'portaleditview' => false, ), ), 'assigned_user_id' => array ( 'name' => 'assigned_user_id', 'vname' => 'LBL_ASSIGNED_TO_ID', 'group' => 'assigned_user_name', 'type' => 'id', 'reportable' => false, 'isnull' => 'false', 'audited' => true, 'duplicate_on_record_copy' => 'always', 'comment' => 'User ID assigned to record', 'duplicate_merge' => 'disabled', 'mandatory_fetch' => true, 'massupdate' => false, 'full_text_search' => array ( 'enabled' => true, 'searchable' => false, 'aggregations' => array ( 'assigned_user_id' => array ( 'type' => 'MyItems', 'label' => 'LBL_AGG_ASSIGNED_TO_ME', ), ), ), ), 'assigned_user_name' => array ( 'name' => 'assigned_user_name', 'link' => 'assigned_user_link', 'vname' => 'LBL_ASSIGNED_TO', 'rname' => 'full_name', 'type' => 'relate', 'reportable' => false, 'source' => 'non-db', 'table' => 'users', 'id_name' => 'assigned_user_id', 'module' => 'Users', 'duplicate_merge' => 'disabled', 'duplicate_on_record_copy' => 'always', 'sort_on' => array ( 0 => 'last_name', ), 'exportable' => true, 'related_fields' => array ( 0 => 'assigned_user_id', ), ), 'assigned_user_link' => array ( 'name' => 'assigned_user_link', 'type' => 'link', 'relationship' => 'pushnotifications_assigned_user', 'vname' => 'LBL_ASSIGNED_TO_USER', 'link_type' => 'one', 'module' => 'Users', 'bean_name' => 'User', 'source' => 'non-db', 'duplicate_merge' => 'enabled', 'id_name' => 'assigned_user_id', 'table' => 'users', 'side' => 'right', ), ), 'ignore_templates' => array ( 0 => 'taggable', 1 => 'commentlog', ), 'visibility' => array ( 'OwnerOrAdminVisibility' => true, ), 'relationships' => array ( 'pushnotifications_modified_user' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'PushNotifications', 'rhs_table' => 'push_notifications', 'rhs_key' => 'modified_user_id', 'relationship_type' => 'one-to-many', ), 'pushnotifications_created_by' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'PushNotifications', 'rhs_table' => 'push_notifications', 'rhs_key' => 'created_by', 'relationship_type' => 'one-to-many', ), 'pushnotification_activities' => array ( 'lhs_module' => 'PushNotifications', 'lhs_table' => 'push_notifications', 'lhs_key' => 'id', 'rhs_module' => 'Activities', 'rhs_table' => 'activities', 'rhs_key' => 'id', 'rhs_vname' => 'LBL_ACTIVITY_STREAM', 'relationship_type' => 'many-to-many', 'join_table' => 'activities_users', 'join_key_lhs' => 'parent_id', 'join_key_rhs' => 'activity_id', 'relationship_role_column' => 'parent_type', 'relationship_role_column_value' => 'PushNotifications', ), 'pushnotifications_following' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'PushNotifications', 'rhs_table' => 'push_notifications', 'rhs_key' => 'id', 'relationship_type' => 'user-based', 'join_table' => 'subscriptions', 'join_key_lhs' => 'created_by', 'join_key_rhs' => 'parent_id', 'relationship_role_column' => 'parent_type', 'relationship_role_column_value' => 'PushNotifications', 'user_field' => 'created_by', ), 'pushnotifications_favorite' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'PushNotifications', 'rhs_table' => 'push_notifications', 'rhs_key' => 'id', 'relationship_type' => 'user-based', 'join_table' => 'sugarfavorites', 'join_key_lhs' => 'modified_user_id', 'join_key_rhs' => 'record_id', 'relationship_role_column' => 'module', 'relationship_role_column_value' => 'PushNotifications', 'user_field' => 'created_by', ), 'pushnotifications_locked_fields' => array ( 'lhs_module' => 'PushNotifications', 'lhs_table' => 'push_notifications', 'lhs_key' => 'id', 'rhs_module' => 'pmse_BpmProcessDefinition', 'rhs_table' => 'pmse_bpm_process_definition', 'rhs_key' => 'id', 'relationship_type' => 'many-to-many', 'join_table' => 'locked_field_bean_rel', 'join_key_lhs' => 'bean_id', 'join_key_rhs' => 'pd_id', 'relationship_role_column' => 'bean_module', 'relationship_role_column_value' => 'PushNotifications', ), 'pushnotifications_assigned_user' => array ( 'lhs_module' => 'Users', 'lhs_table' => 'users', 'lhs_key' => 'id', 'rhs_module' => 'PushNotifications', 'rhs_table' => 'push_notifications', 'rhs_key' => 'assigned_user_id', 'relationship_type' => 'one-to-many', ), ), 'indices' => array ( 'id' => array ( 'name' => 'idx_pushnotifications_pk', 'type' => 'primary', 'fields' => array ( 0 => 'id', ), ), 'date_modified' => array ( 'name' => 'idx_push_notifications_del_d_m', 'type' => 'index', 'fields' => array ( 0 => 'deleted', 1 => 'date_modified', 2 => 'id', ), ), 'deleted' => array ( 'name' => 'idx_push_notifications_id_del', 'type' => 'index', 'fields' => array ( 0 => 'id', 1 => 'deleted', ), ), 'date_entered' => array ( 'name' => 'idx_push_notifications_del_d_e', 'type' => 'index', 'fields' => array ( 0 => 'deleted', 1 => 'date_entered', 2 => 'id', ), ), 'name_del' => array ( 'name' => 'idx_push_notifications_name_del', 'type' => 'index', 'fields' => array ( 0 => 'name', 1 => 'deleted', ), ), 'sync_key' => array ( 'name' => 'idx_push_notifications_skey', 'type' => 'unique', 'fields' => array ( 0 => 'sync_key', ), ), 'assigned_user_id' => array ( 'name' => 'idx_push_notifications_assigned_del', 'type' => 'index', 'fields' => array ( 0 => 'assigned_user_id', 1 => 'deleted', ), ), ), 'name_format_map' => array ( ), 'acls' => array ( 'SugarACLLockedFields' => true, ), 'duplicate_check' => array ( 'enabled' => true, 'FilterDuplicateCheck' => array ( 'filter_template' => array ( 0 => array ( 'name' => array ( '$starts' => '$name', ), ), ), 'ranking_fields' => array ( 0 => array ( 'in_field_name' => 'name', 'dupe_field_name' => 'name', ), ), ), ), 'favorites' => true, 'templates' => array ( 'basic' => 'basic', 'following' => 'following', 'favorite' => 'favorite', 'lockable_fields' => 'lockable_fields', 'integrate_fields' => 'integrate_fields', 'assignable' => 'assignable', ), 'custom_fields' => false, 'has_pii_fields' => false, 'related_calc_fields' => array ( ), );