NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Automatic creation of get/set methods


Joined: 18 Jul 2008
Posts: 1
Reply with quote
Not sure if this feature has been requested. It would be a nice addition as some classes I have wrote consisted of atleast 30 properties. I noticed this feature in Zend Studio for Eclipse at work and am hooked on it.
View user's profileFind all posts by jpantoja69Send private message
Re: Automatic creation of get/set methods


Joined: 14 Jun 2007
Posts: 67
Reply with quote
jpantoja69 wrote:
Not sure if this feature has been requested. It would be a nice addition as some classes I have wrote consisted of atleast 30 properties. I noticed this feature in Zend Studio for Eclipse at work and am hooked on it.

Wrong "Feature Request" section, but hey...

How about writing a script to do it, then use the Integration tools to run it (does require Pro version of PHPEd). Then you'd select the bunch of variables you want getters/setters for & generate them yourself!

Cameron.
View user's profileFind all posts by CjungeSend private message


Joined: 23 Jun 2008
Posts: 32
Reply with quote
I wrote a script to do exactly what you want. Check out http://forum.nusphere.com/create-get-variablename-and-set-variablename-functions-t6891.html.
View user's profileFind all posts by AirspraySend private message
Automatic creation of get/set methods
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