tags:

views:

53

answers:

2

I'm using Netbeans for PHP code. When I use the generator for getter and setter methods in a class, the functions are named

get_something()
set_something()

How can I generate the functions in the camel case:

getSomething()
setSomething()
A: 

What version of Netbeans are you using?

In 6.9 if you go Source -> Insert Code -> Getter.../Setter... there is a drop-down selection for Method Name. In there you can select either camel case or using underscores.

pferate
A: 

why my version doesn have that option if its the same (netbeans 6.9.1) you shoudl do any extra configuration?!

bigmander