File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/location/core/src/entity/address/addressfieldcollection.js
Back
import FieldCollection from '../generic/fieldcollection'; import AddressField from './addressfield'; export default class AddressFieldCollection 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 AddressField({type, value}) ); return this; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings