6、打开文件CCGCommandLinkButton.h,如果此时在头文件的类范围(class scope)中,应该可看到带有“覆盖”按钮的属性面板,从列表中选择PreCreateWindow,从下拉框中添加PreCreateWindow,同样地,添加PreSub...
基于16个网页-相关网页
类范围包含所有的基类。
在这里可以找到可以在类范围中定义的Active Record模型检验列表。
You can find a list of the Active Record model validations that can be defined in the class scope here.
如果将属性声明为private并试图从类范围外部访问它(如清单7所示),PHP引擎将抛出致命错误。
If you declare your properties private and attempt to access them from outside the class 'scope (as shown in Listing 7), the PHP engine will throw a fatal error.
应用推荐