Changes between Version 1 and Version 2 of Ticket #6262, comment 2
- Timestamp:
- 02/27/2015 09:49:42 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6262, comment 2
v1 v2 1 Yep, it's passed to the constructor and then in the constructor it's assigned to a property. For example: {{{$this->type = $type}}}. But shouldn't that property be de clared in the class definition? Something like:1 Yep, it's passed to the constructor and then in the constructor it's assigned to a property. For example: {{{$this->type = $type}}}. But shouldn't that property be defined in the class definition? Something like: 2 2 3 3 {{{