EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Types
Yuriidccc9cb82cc9
diff --git a/application/Espo/Core/Select/Where/Item.php b/application/Espo/Core/Select/Where/Item.phpindex 58ac3ecd48..0c76086500 100644--- a/application/Espo/Core/Select/Where/Item.php+++ b/application/Espo/Core/Select/Where/Item.php@@ -41,8 +41,8 @@ use RuntimeException;*/class Item{- public const TYPE_AND = Item\Type::AND;- public const TYPE_OR = Item\Type::OR;+ public const string TYPE_AND = Item\Type::AND;+ public const string TYPE_OR = Item\Type::OR;private ?string $attribute = null;private mixed $value = null;diff --git a/application/Espo/Core/Select/Where/Item/Type.php b/application/Espo/Core/Select/Where/Item/Type.phpindex 59ee2f5802..78c23a1f2a 100644--- a/application/Espo/Core/Select/Where/Item/Type.php+++ b/application/Espo/Core/Select/Where/Item/Type.php@@ -31,62 +31,62 @@ namespace Espo\Core\Select\Where\Item;class Type{- public const AND = 'and';- public const OR = 'or';- public const NOT = 'not';- public const SUBQUERY_NOT_IN = 'subQueryNotIn';- public const SUBQUERY_IN = 'subQueryIn';- public const EXPRESSION = 'expression';- public const IN = 'in';- public const NOT_IN = 'notIn';- public const EQUALS = 'equals';- public const NOT_EQUALS = 'notEquals';- public const ON = 'on';- public const NOT_ON = 'notOn';- public const LIKE = 'like';- public const NOT_LIKE = 'notLike';- public const STARTS_WITH = 'startsWith';- public const ENDS_WITH = 'endsWith';- public const CONTAINS = 'contains';- public const NOT_CONTAINS = 'notContains';- public const GREATER_THAN = 'greaterThan';- public const LESS_THAN = 'lessThan';- public const GREATER_THAN_OR_EQUALS = 'greaterThanOrEquals';- public const LESS_THAN_OR_EQUALS = 'lessThanOrEquals';- public const AFTER = 'after';- public const BEFORE = 'before';- public const BETWEEN = 'between';- public const EVER = 'ever';- public const ANY = 'any';- public const NONE = 'none';- public const IS_NULL = 'isNull';- public const IS_NOT_NULL = 'isNotNull';- public const IS_TRUE = 'isTrue';- public const IS_FALSE = 'isFalse';- public const TODAY = 'today';- public const PAST = 'past';- public const FUTURE = 'future';- public const LAST_SEVEN_DAYS = 'lastSevenDays';- public const LAST_X_DAYS = 'lastXDays';- public const NEXT_X_DAYS = 'nextXDays';- public const OLDER_THAN_X_DAYS = 'olderThanXDays';- public const AFTER_X_DAYS = 'afterXDays';- public const CURRENT_MONTH = 'currentMonth';- public const NEXT_MONTH = 'nextMonth';- public const LAST_MONTH = 'lastMonth';- public const CURRENT_QUARTER = 'currentQuarter';- public const LAST_QUARTER = 'lastQuarter';- public const CURRENT_YEAR = 'currentYear';- public const LAST_YEAR = 'lastYear';- public const CURRENT_FISCAL_YEAR = 'currentFiscalYear';- public const LAST_FISCAL_YEAR = 'lastFiscalYear';- public const CURRENT_FISCAL_QUARTER = 'currentFiscalQuarter';- public const LAST_FISCAL_QUARTER = 'lastFiscalQuarter';- public const ARRAY_ANY_OF = 'arrayAnyOf';- public const ARRAY_NONE_OF = 'arrayNoneOf';- public const ARRAY_ALL_OF = 'arrayAllOf';- public const ARRAY_IS_EMPTY = 'arrayIsEmpty';- public const ARRAY_IS_NOT_EMPTY = 'arrayIsNotEmpty';+ public const string AND = 'and';+ public const string OR = 'or';+ public const string NOT = 'not';+ public const string SUBQUERY_NOT_IN = 'subQueryNotIn';+ public const string SUBQUERY_IN = 'subQueryIn';+ public const string EXPRESSION = 'expression';+ public const string IN = 'in';+ public const string NOT_IN = 'notIn';+ public const string EQUALS = 'equals';+ public const string NOT_EQUALS = 'notEquals';+ public const string ON = 'on';+ public const string NOT_ON = 'notOn';+ public const string LIKE = 'like';+ public const string NOT_LIKE = 'notLike';+ public const string STARTS_WITH = 'startsWith';+ public const string ENDS_WITH = 'endsWith';+ public const string CONTAINS = 'contains';+ public const string NOT_CONTAINS = 'notContains';+ public const string GREATER_THAN = 'greaterThan';+ public const string LESS_THAN = 'lessThan';+ public const string GREATER_THAN_OR_EQUALS = 'greaterThanOrEquals';+ public const string LESS_THAN_OR_EQUALS = 'lessThanOrEquals';+ public const string AFTER = 'after';+ public const string BEFORE = 'before';+ public const string BETWEEN = 'between';+ public const string EVER = 'ever';+ public const string ANY = 'any';+ public const string NONE = 'none';+ public const string IS_NULL = 'isNull';+ public const string IS_NOT_NULL = 'isNotNull';+ public const string IS_TRUE = 'isTrue';+ public const string IS_FALSE = 'isFalse';+ public const string TODAY = 'today';+ public const string PAST = 'past';+ public const string FUTURE = 'future';+ public const string LAST_SEVEN_DAYS = 'lastSevenDays';+ public const string LAST_X_DAYS = 'lastXDays';+ public const string NEXT_X_DAYS = 'nextXDays';+ public const string OLDER_THAN_X_DAYS = 'olderThanXDays';+ public const string AFTER_X_DAYS = 'afterXDays';+ public const string CURRENT_MONTH = 'currentMonth';+ public const string NEXT_MONTH = 'nextMonth';+ public const string LAST_MONTH = 'lastMonth';+ public const string CURRENT_QUARTER = 'currentQuarter';+ public const string LAST_QUARTER = 'lastQuarter';+ public const string CURRENT_YEAR = 'currentYear';+ public const string LAST_YEAR = 'lastYear';+ public const string CURRENT_FISCAL_YEAR = 'currentFiscalYear';+ public const string LAST_FISCAL_YEAR = 'lastFiscalYear';+ public const string CURRENT_FISCAL_QUARTER = 'currentFiscalQuarter';+ public const string LAST_FISCAL_QUARTER = 'lastFiscalQuarter';+ public const string ARRAY_ANY_OF = 'arrayAnyOf';+ public const string ARRAY_NONE_OF = 'arrayNoneOf';+ public const string ARRAY_ALL_OF = 'arrayAllOf';+ public const string ARRAY_IS_EMPTY = 'arrayIsEmpty';+ public const string ARRAY_IS_NOT_EMPTY = 'arrayIsNotEmpty';/*** Is linked with at least one of provided values (Any Of).@@ -108,7 +108,6 @@ class Type*/public const string IS_LINKED_WITH_ANY = 'isLinked';-/*** Is not linked with anything (Is Empty).*/