Class Files

1 view
Skip to first unread message

Dan Pepin

unread,
Mar 26, 2011, 1:04:38 AM3/26/11
to cis605
Okay, so I uploaded a file to the i2c repository titled 'internship-
request_test.php'.
It is a demo file that shows how to create an HTML file as a Class.

It has several benefits, although it was a pain to set up.
Mihaela, you should check it out. It may not work perfectly (database
issues), but the code works fine.
It's a cool concept, and I actually really like the design.
The variables are visible in all the functions ($this->variable). The
HTML is written 'outside' of the Class, so I used getters to access
the private variables. No need for setters. Others may not need to
have the HTML on the outside of the class, but for my file, it was
necessary to have the HTML be external.






So.... tired....

Sabin, Mihaela

unread,
Mar 26, 2011, 9:45:37 AM3/26/11
to cis...@googlegroups.com
Ok, I'll take a look and get back to you, Rebecca, and Chris.
Thanks!
Reply all
Reply to author
Forward
0 new messages