How to generate getter/setter in PHP easily
For one of my current project I need to write getter/setter functions for 20+ variables. You know, how annoying it is! Well, I can use magic quotes, but I don’t like it. More over getter setter will help you later to use the class when your IDE (in my case Netbeans) supports auto complete suggestion. Though all Java development environments allow to generate getter and setter code automatically.
Then I started coding a php script for generating getter/setter for supplied variables, but I was lucky as suddenly I thought “why don’t I look for something like this online”
And here is the link I got, its quite good. http://www.icurtain.co.uk/getset.php, It saved my time.
Tags
apache redirection blogging boot Browser directory print download download limit Download Manager download time limit effective search emacs fedora fedora 9 firefox free stuffs Google internet ISO java latex Linux maverick Media miktext mozilla no-www Open Source os PHP picture Picture of the Day python search search techniques social networking Software sulphur sun jdk thesis writing tips Tips n Tricks ubuntu utility vmware player Windows





