阅读背景:

禁止子类调用受保护属性的方法

来源:互联网 

I'm developing application using MVC concept and want to restrict the View class from calling methods of model but give it access to model's properties so it can just get data when it needs it. Instead i want to give the Controller class ability to call model's methods(and if possible restrict it from accessing properties cause it really doesn't need to do so).I'm developing application using MVC concept an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: