NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
generating setters and getters


Joined: 16 Aug 2006
Posts: 13
Reply with quote
It would be nice if PHPEd could automaticly generate setters ang getters for class fields marked as private (for ex. getId() and setId($Id))

The feature like this exitsts in PHPEclipse ... :]

Best regards
Jacek

P.S. Some refactoring tools are welcome too ;]
View user's profileFind all posts by wengoshSend private message


Joined: 15 May 2008
Posts: 1
Reply with quote
Yes this will be very useful
View user's profileFind all posts by umutbeslerSend private message
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
If they do, I hope you can turn it of, because I don't need that functionality at all Smile
I use the __get and __set magic functions for all member variables (almost everything is protected or private in my classes). Easier to track changes that way.
View user's profileFind all posts by BlizzSend private messageVisit poster's website
generating setters and getters
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic