博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2004年8月16日

摘要: ColdFusion中的继承体现在CFCs,用法就是在中加入属性extends,简单的说,sub.cfc通过继承parent.cfc,就自动拥有了parent.cfc中的(constructor构造器中的)变量、属性和公开的(public)方法,比如: #temp# test.cfm将输出:“this is parent class” 阅读全文

posted @ 2004-08-16 22:21 dalongzero 阅读(1151) 评论(2) 推荐(0)