File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/location/core/src/entity/location/locationfieldcollection.js
Back
import FieldCollection from '../generic/fieldcollection'; import LocationField from './locationfield'; export default class LocationFieldCollection extends FieldCollection { getFieldValue(type) { let result = null; if(this.isFieldExists(type)) { const field = this.getField(type); if(field) { result = field.value; } } return result; } setFieldValue(type, value) { this.setField( new LocationField({type, value}) ); return this; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings