Method Injection
The base mura.cfobject has injectMethod() and deleteMethod() functions that allow for the ability to add or replace methods to existing Mura objects. This would most often be used during the onApplicationLoad() or onRenderStart() events.
public any function myCustomMethod() {
//I do custom stuff
}
public void function onRenderStart($) {
$.getContentRenderer().injectMethod(
'customMethod'
, myCustomMethod
);
}