File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/ui/install/js/ui/entity-selector/src/search/word-index.js
Back
import { Type } from 'main.core'; export default class WordIndex { word: string = ''; startIndex: number = 0; constructor(word: string, startIndex: number) { this.setWord(word); this.setStartIndex(startIndex); } getWord(): string { return this.word; } setWord(word: string): this { if (Type.isStringFilled(word)) { this.word = word; } return this; } getStartIndex(): number { return this.startIndex; } setStartIndex(index: number): this { if (Type.isNumber(index) && index >= 0) { this.startIndex = index; } return this; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.23 |
proxy
|
phpinfo
|
Settings