YetiForceCompany/YetiForceCRM

View on GitHub
config/Performance.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

/**
 * Configuration file.
 * This file is auto-generated.
 *
 * @package Config
 *
 * @copyright YetiForce S.A.
 * @license   YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 */

namespace Config;

/**
 * Configuration file: Config\Performance.
 */
class Performance
{
    /** Data caching is about storing some PHP variables in cache and retrieving it later from cache. Drivers: Base, Apcu */
    public static $CACHING_DRIVER = 'Base';

    /** Enable caching of user data */
    public static $ENABLE_CACHING_USERS = false;

    /** Enable caching database instance, accelerate time database connection */
    public static $ENABLE_CACHING_DB_CONNECTION = false;

    /** If database default charset is UTF-8, set this to true. This avoids executing the SET NAMES SQL for each query! */
    public static $DB_DEFAULT_CHARSET_UTF8 = true;

    /** Compute list view record count while loading listview each time. Recommended value false */
    public static $LISTVIEW_COMPUTE_PAGE_COUNT = false;

    /** Enable automatic records list refreshing while changing the value of the selection list */
    public static $AUTO_REFRESH_RECORD_LIST_ON_SELECT_CHANGE = true;

    /** Show in search engine/filters only users and groups available in records list. It might result in a longer search time. */
    public static $SEARCH_SHOW_OWNER_ONLY_IN_LIST = false;

    /** Time to update number of notifications in seconds */
    public static $INTERVAL_FOR_NOTIFICATION_NUMBER_CHECK = 100;

    /** Search owners by AJAX. We recommend selecting the "true" value if there are numerous users in the system. */
    public static $SEARCH_OWNERS_BY_AJAX = false;

    /** Search roles by AJAX */
    public static $SEARCH_ROLES_BY_AJAX = false;

    /** Search reference by AJAX. We recommend selecting the "true" value if there are numerous users in the system. */
    public static $SEARCH_REFERENCE_BY_AJAX = false;

    /** Max number of exported records */
    public static $MAX_NUMBER_EXPORT_RECORDS = 500;

    /** Max number of mass deleted records */
    public static $maxMassDeleteRecords = 1000;

    /** Max number of transfer ownership records */
    public static $maxMassTransferOwnershipRecords = 1000;

    /** Minimum number of characters to search for record owner */
    public static $OWNER_MINIMUM_INPUT_LENGTH = 2;

    /** Minimum number of characters to search for role */
    public static $ROLE_MINIMUM_INPUT_LENGTH = 2;

    /** The numbers of emails downloaded during one scanning */
    public static $NUMBERS_EMAILS_DOWNLOADED_DURING_ONE_SCANNING = 100;

    /** The maximum number of global search permissions that cron can update during a single execution */
    public static $CRON_MAX_NUMBERS_RECORD_PRIVILEGES_UPDATER = 1000000;

    /** The maximum number of records in address book to be updated in cron */
    public static $CRON_MAX_NUMBERS_RECORD_ADDRESS_BOOK_UPDATER = 10000;

    /** The maximum number of record labels that cron can update during a single execution */
    public static $CRON_MAX_NUMBERS_RECORD_LABELS_UPDATER = 10000;

    /** The maximum number of emails that cron can send during a single execution. Pay attention to the server limits. */
    public static $CRON_MAX_NUMBERS_SENDING_MAILS = 1000;

    /** The maximum number of attachments that cron can delete during a single execution */
    public static $CRON_MAX_ATACHMENTS_DELETE = 1000;

    /**
     * Parameter that allows to disable file overwriting.
     * After enabling it the system will additionally check whether the file exists in the custom directory. Ex. custom/modules/Assets/Assets.php.
     */
    public static $LOAD_CUSTOM_FILES = false;

    /** Parameter that determines whether admin panel should be available to admin by default */
    public static $SHOW_ADMIN_PANEL = false;

    /** Display administrators in the list of users (Assigned To) */
    public static $SHOW_ADMINISTRATORS_IN_USERS_LIST = true;

    /** Global search: true/false */
    public static $GLOBAL_SEARCH = true;

    /** Browsing history working if true */
    public static $BROWSING_HISTORY_WORKING = true;

    /** Number of browsing history steps */
    public static $BROWSING_HISTORY_VIEW_LIMIT = 20;

    /** Number of days after which browsing history will be deleted */
    public static $BROWSING_HISTORY_DELETE_AFTER = 7;

    /** Session handler name, handler dir: app/Session/ */
    public static $SESSION_DRIVER = 'File';

    /** Charts multi filter limit */
    public static $CHART_MULTI_FILTER_LIMIT = 5;

    /** Additional filters limit for ChartFilter's */
    public static $CHART_ADDITIONAL_FILTERS_LIMIT = 6;

    /** Maximum number of merged records */
    public static $MAX_MERGE_RECORDS = 4;

    /** Can CRM have access to the Internet? */
    public static $ACCESS_TO_INTERNET = true;

    /** Change the locale for sort the data */
    public static $CHANGE_LOCALE = true;

    /** Is divided layout style on edit view in modules with products */
    public static $INVENTORY_EDIT_VIEW_LAYOUT = true;

    /** List of modules with splitted edit view layout */
    public static $MODULES_SPLITTED_EDIT_VIEW_LAYOUT = [];

    /** Popover record's trigger delay in ms */
    public static $RECORD_POPOVER_DELAY = 500;

    /** Number of items displayed in picklists. */
    public static $picklistLimit = 50;

    /** If there is no translation in the chosen language, then get from the default language. */
    public static $recursiveTranslate = true;

    /** Parameter defining how fields are displayed in quick edit. Available values: standard,blocks,vertical */
    public static $quickEditLayout = 'blocks';

    /** Parameter defining how fields are displayed in quick create. Available values: blocks,standard */
    public static $quickCreateLayout = 'blocks';

    /** Number of records that can be shown in report mail */
    public static $REPORT_RECORD_NUMBERS = 10;

    /** Number of records that can be shown in history login modal */
    public static $LOGIN_HISTORY_VIEW_LIMIT = 10;

    /**
     * Functionality notifying about activity on the record
     *
     * @var bool
     */
    public static $recordActivityNotifier = false;

    /**
     * Interval for Record activity notifier
     *
     * @var int Number of seconds
     */
    public static $recordActivityNotifierInterval = 5;
}