src/aria/templates/ModuleCtrl.js
function (session) {
            this._session = session;
            if (this._smList) {
                var sz = this._smList.length;
                for (var i = 0; i < sz; i++) {
                    var subModule = this._smList[i];
                    if (subModule) {
                        subModule.setSession(session);
                    }
                }
            }
        }
function (session) {
            this._session = session;
            if (this._smList) {
                var sz = this._smList.length;
                for (var i = 0; i < sz; i++) {
                    var subModule = this._smList[i];
                    if (subModule) {
                        subModule.setSession(session);
                    }
                }
            }
        }
function ( session ) { this . _session = session ; if ( this . _smList ) { var sz = this . _smList . length ; for ( var i = 0 ; i < sz ; i ++ ) { var subModule = this . _smList [ i ] ; if ( subModule ) { subModule . setSession ( session ) ; } } } }
Set this module and submodules session
@param {Object} session object containing paramName and id, the session id
Set this module and submodules session