Via de voorbeelden van menselijke vertaling trachten te leren vertalen.
Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.
위의 예는 cart 클래스에 물품번호 10번의 물품을 한 개 자동으로 추가하는 생성자를 추가한 auto_cart라는 클래스의 선언이다. auto_cart는 "new"로 생성된다. 생성자는 또한 인수(argument)를 가질 수 있고, 이 인수들은 default값을 가진 옵션으로 선언 할 수 있다. 이 기능은 실제로 매우 유용하다.
thus, '$this - items[$artnr] += $num' can be read as'add $num to the $artnr counter of my own items array 'or'add $num to the $artnr counter of the items array within the current object'.
Laatste Update: 2011-10-24
Gebruiksfrequentie: 1
Kwaliteit:
Waarschuwing: Bevat onzichtbare HTML-opmaak