That way, you could access those domain properties with.
这样一来,您就可以使用以下代码访问这些域属性。
Figure 2: domain properties read by the normal domain user.
图2:一般用户可以读到的域的属性。
To provide seamless access to domain properties so the above-referenced syntax works, ActiveRecord implements the magic __get method.
为了提供对域属性的无缝访问以便上述引用的语法能正常工作,ActiveRecord实现了奇妙的__get方法。
应用推荐