function (control) {
				var properties = control.getMetadata().getAllProperties();
				var propertiesBindingData = Object.create(null);

				for (var key in properties) {
					if (properties.hasOwnProperty(key) && control.getBinding(key)) {
						propertiesBindingData[key] = Object.create(null);
						propertiesBindingData[key].path = control.getBinding(key).getPath();
						propertiesBindingData[key].value = control.getBinding(key).getValue();
						propertiesBindingData[key].type = control.getMetadata().getProperty(key).getType().getName ? control.getMetadata().getProperty(key).getType().getName() : '';
						propertiesBindingData[key].mode = control.getBinding(key).getBindingMode();
						propertiesBindingData[key].model = this._getModelFromContext(control, key);
					}
				}

				return propertiesBindingData;
			}
function (control) {
				var properties = control.getMetadata().getAllProperties();
				var propertiesBindingData = Object.create(null);

				for (var key in properties) {
					if (properties.hasOwnProperty(key) && control.getBinding(key)) {
						propertiesBindingData[key] = Object.create(null);
						propertiesBindingData[key].path = control.getBinding(key).getPath();
						propertiesBindingData[key].value = control.getBinding(key).getValue();
						propertiesBindingData[key].type = control.getMetadata().getProperty(key).getType().getName ? control.getMetadata().getProperty(key).getType().getName() : '';
						propertiesBindingData[key].mode = control.getBinding(key).getBindingMode();
						propertiesBindingData[key].model = this._getModelFromContext(control, key);
					}
				}

				return propertiesBindingData;
			}
function ( control ) { var properties = control . getMetadata ( ) . getAllProperties ( ) ; var propertiesBindingData = Object . create ( null ) ; for ( var key in properties ) { if ( properties . hasOwnProperty ( key ) && control . getBinding ( key ) ) { propertiesBindingData [ key ] = Object . create ( null ) ; propertiesBindingData [ key ] . path = control . getBinding ( key ) . getPath ( ) ; propertiesBindingData [ key ] . value = control . getBinding ( key ) . getValue ( ) ; propertiesBindingData [ key ] . type = control . getMetadata ( ) . getProperty ( key ) . getType ( ) . getName ? control . getMetadata ( ) . getProperty ( key ) . getType ( ) . getName ( ) : '' ; propertiesBindingData [ key ] . mode = control . getBinding ( key ) . getBindingMode ( ) ; propertiesBindingData [ key ] . model = this . _getModelFromContext ( control , key ) ; } } return propertiesBindingData ; }
Creates an object with the properties bindings of a UI5 control.
@param {Object} control
@returns {Object}
@private
Creates an object with the properties bindings of a UI5 control .
Returns the binding data for a control