Book a Demo

Author Topic: Getter and Setter generation in PHP  (Read 2713 times)

placebo76

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Getter and Setter generation in PHP
« on: September 28, 2012, 01:30:03 am »
Hi,

when i create an attribute there is a possibility to generate automatically getter and setter functions if i check the box "Property". But the problem is, that the parameter for the setter method always has the type "var", even when the attribute has other types like "array" or "string".

Is there a possibility to change that behaviour? Otherwise i have to change every setter function and changing the type after creation of them ...

placebo76

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Getter and Setter generation in PHP
« Reply #1 on: September 28, 2012, 01:45:38 am »
Ok when i change the Language to "Java" i get the correct type.