DNN中与模块相关的信息

实验代码:

写在PortalModuleBase的继承类中

                this.divTest.InnerHtml = "PortalModuleBase.ModuleConfiguration.ModuleName=" + this.ModuleConfiguration.ModuleName + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleConfiguration.ModuleTitle=" + this.ModuleConfiguration.ModuleTitle + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleConfiguration.ModuleID=" + this.ModuleConfiguration.ModuleID + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleConfiguration.ModuleDefID=" + this.ModuleConfiguration.ModuleDefID + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleConfiguration.ModuleControlId=" + this.ModuleConfiguration.ModuleControlId + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleConfiguration.TabModuleID=" + this.ModuleConfiguration.TabModuleID + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleConfiguration.ControlTitle=" + this.ModuleConfiguration.ControlTitle + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleConfiguration.FolderName=" + this.ModuleConfiguration.FolderName + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleConfiguration.FriendlyName=" + this.ModuleConfiguration.FriendlyName + "< br />";
                this.divTest.InnerHtml += "PortalModuleBase.ModuleId=" + this.ModuleId + "< br />";

 

实验结果:

PortalModuleBase.ModuleConfiguration.ModuleName=HRB_Condition

PortalModuleBase.ModuleConfiguration.ModuleTitle=Conditions

PortalModuleBase.ModuleConfiguration.ModuleID=382

PortalModuleBase.ModuleConfiguration.ModuleDefID=105

PortalModuleBase.ModuleConfiguration.ModuleControlId=184

PortalModuleBase.ModuleConfiguration.TabModuleID=71

PortalModuleBase.ModuleConfiguration.ControlTitle=Conditions

PortalModuleBase.ModuleConfiguration.FolderName=HRB_Condition

PortalModuleBase.ModuleConfiguration.FriendlyName=HRB Condition

PortalModuleBase.ModuleId=382

 

另外一个模块实例:

PortalModuleBase.ModuleConfiguration.ModuleName=HRB_Condition

PortalModuleBase.ModuleConfiguration.ModuleTitle=HRB_Condition_Main

PortalModuleBase.ModuleConfiguration.ModuleID=461

PortalModuleBase.ModuleConfiguration.ModuleDefID=105

PortalModuleBase.ModuleConfiguration.ModuleControlId=184

PortalModuleBase.ModuleConfiguration.TabModuleID=152

PortalModuleBase.ModuleConfiguration.ControlTitle=Conditions

PortalModuleBase.ModuleConfiguration.FolderName=HRB_Condition

PortalModuleBase.ModuleConfiguration.FriendlyName=HRB Condition

PortalModuleBase.ModuleId=461

 

相同模块不同模块实例:

ModuleDefID:相同

ModuleControlId:相同

ModuleID:不同

TabModuleID:不同

posted on 2008-07-21 11:43  yaksea  阅读(237)  评论(0编辑  收藏  举报