File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/ui/install/js/ui/entity-selector/src/search/search-field-index.js
Back
import type SearchField from './search-field'; import type WordIndex from './word-index'; export default class SearchFieldIndex { field: SearchField = null; indexes: WordIndex[] = []; constructor(field: SearchField, indexes: WordIndex[] = []) { this.field = field; this.addIndexes(indexes); } getField(): SearchField { return this.field; } getIndexes(): WordIndex[] { return this.indexes; } addIndex(index: WordIndex) { this.getIndexes().push(index); } addIndexes(indexes: WordIndex[]) { indexes.forEach(index => { this.addIndex(index); }); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings