Warning: main(/home/www/pbarton.rochdalejuniors.co.uk/twitter.php): failed to open stream: No such file or directory in /~/www/thisispaul.co.uk/projects/createCode/index.php on line 23

Warning: main(): Failed opening '/home/www/pbarton.rochdalejuniors.co.uk/twitter.php' for inclusion (include_path='.:/usr/local/php4/share/pear') in /~/www/thisispaul.co.uk/projects/createCode/index.php on line 23

Ask me for the source code...

<-- back

Create Code


This is a small program I created one night to help me create get and set methods quickly.
The reason for this is that I found myself constantly having to create the same get and set methods for almost every variable I had in a program. This small tool helps to bypass this part of coding (which i find terribly drab) and let me spend more time on the interesting code.

I came back to the program about a week later and added the "create class" function to it as well. This takes the idea of creating the methods and expands it by coding up and entire class for you. It takes a class name and variables and will create the necessary code for you (with comments).

The best thing about this tool (in my opinion) is the ability to set the variables added to be included in the constructor, as well as stating whether or not they will need get and set methods.

Click here to download

Screenshots! - click to view