You can use private properties to really lock down our classes.
可以使用private属性来真正锁定类。
It seems a bit idealist for me to think of money and private properties.
我如此这般看待金钱和私有财产,似乎有些理想主义。
He causes a serious injury or death to a person or causes a loss of more than 100,000 Yuan to public or private properties in the process of illegal manufacture, trading, transportation, or storage.
在非法制造、买卖、运输、储存过程中致人重伤、死亡或者造成公私财产损失10万元以上的。
On the next page, enter the feed title and description along with other properties, like public or private access, any search keyword tags, or cache times.
在接下来的页面上,输入提要标题和描述,以及其他属性,例如公共或私有访问、搜索关键词标签或缓存时间。
Most of the errors were due to unnamed properties of association links and interface operations being declared as private.
大多数错误是由于没有命名被声明为私有的关联链接和接口操作的属性。
Properties automatically have private backing fields with get methods synthesized.
属性自动拥有了私有的、合成了get方法的域。
These properties can be used to create e.g. transient and private queues which are exclusive and auto-deleted.
这些性质可以用来创建例如排他和自删除的transient或者私有队列。
You can modify the visibility of methods in the same way as properties, adding public, private, or protected to the method declaration.
修改方法可见度的方法与修改属性可见度的方法一样,即在方法声明中添加public、private或protected。
In PHP V5, properties should be declared public, private, or protected.
在PHPv 5中,属性必须声明为public、private或protected。
While static properties are often declared private to prevent meddling, there is one way of creating a read-only statically scoped property: You can declare a constant.
尽管静态属性通常被声明为private来防止别人干预,但有一种方法可以创建只读静态范围的属性,即声明常量。
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.
如果将属性声明为private并试图从类范围外部访问它(如清单7所示),PHP引擎将抛出致命错误。
All properties are private, and all methods are public.
所有属性都是private的,而所有方法都是public的。
As a rule of thumb, you should make most properties private, then provide methods for getting and setting them if necessary.
一般来说,应将大多数属性声明为private,然后根据需要提供获得和设置这些属性的方法。
As with properties, any attempt to call a private method from outside the containing class causes a fatal error.
与属性一样,尝试从包含类外部调用私有方法将导致致命错误。
Properties that are public can be written to and read from outside the class. Properties that are private can only be seen within the object or class context.
声明为public的属性可以在类外部写入和读取,声明为private的属性只在对象或类上下文中可见。
A method of an object has access to that object's private and protected properties.
一种方法的对象已获得该对象的私人和保护性能。
Properties are members that provide a flexible mechanism to read, write, or compute the values of private fields.
属性是这样的成员:它们提供灵活的机制来读取、编写或计算私有字段的值。
Private and protected member variables are shown only in Expert Mode. Properties are not serialized or shown in the inspector.
私有和保护变量只能在专家模式中显示。属性不被序列化或显示在检视面板。
Now, the quality of intellectual properties' private right isn't changed, but the degree of country' intervene is becoming stronger.
在当代,知识产权的私权性质并未发生变化,但国家介入的因素在增强”。
Only member variables are serialized and are shown in the inspector. Private and protected member variables are shown only in Expert Mode. Properties are not serialized or shown in the inspector.
只有序列化的成员变量才能显示在检视面板,私有和保护变量只能在专家模式中显示。属性不被序列化或显示在检视面板。
At the same time, the fall in private home prices have started to gather pace in the fourth quarter, with prime non-landed properties the hardest hit.
与此同时,从第四季度起,私人住房价格开始加速下滑,黄金地段的公寓价格尤其遭重创。
At the same time, the fall in private home prices have started to gather pace in the fourth quarter, with prime non-landed properties the hardest hit.
与此同时,从第四季度起,私人住房价格开始加速下滑,黄金地段的公寓价格尤其遭重创。
应用推荐