SAPUI5 Obtenha fragmento por id

//It is supposed to by deprecated, but it was the only thing that worked for me
var oControl = sap.ui.getCore().byId("controlId");
var oBinding = oControl.getBinding("items"); //or content or whatever the Control has
Jolly Jackal