src/aria/templates/ModuleCtrl.js
function (dataToFind) {
            if (this._smList) {
                var sz = this._smList.length;
                for (var i = 0; i < sz; i++) {
                    var subModule = this._smList[i];
                    if (subModule && dataToFind == subModule.getData()) {
                        return subModule;
                    }
                }
            }
            return this.$publicInterface();
        }
function (dataToFind) {
            if (this._smList) {
                var sz = this._smList.length;
                for (var i = 0; i < sz; i++) {
                    var subModule = this._smList[i];
                    if (subModule && dataToFind == subModule.getData()) {
                        return subModule;
                    }
                }
            }
            return this.$publicInterface();
        }
function ( dataToFind ) { if ( this . _smList ) { var sz = this . _smList . length ; for ( var i = 0 ; i < sz ; i ++ ) { var subModule = this . _smList [ i ] ; if ( subModule && dataToFind == subModule . getData ( ) ) { return subModule ; } } } return this . $publicInterface ( ) ; }
MPI method available on all modules in order to retrieve a sub-module data controller
@param {Object} dataToFind data object which may correspond to the root of a sub-module data controller
@return {Object} the sub-module data controller public interface whose root data model is dataToFind, or
this.$publicInterface() if no sub-module have dataToFind as root data model
MPI method available on all modules in order to retrieve a sub - module data controller