Mastering PHP Class.
Posted 25 April 2006 - 02:19 PM
I'm now ready to master PHP Class although i already know the basic concept..
But what i want to do is to master and review it. So my skills will be
surely sharpen with advance PHP coding....
can you help me and show a good tutorial URLs from PHP Class basic to advance PHP Class coding...
The more CLASS coding samples the better...
thank you very much in advance...
Posted 25 April 2006 - 02:52 PM
with this --> [a href=\"http://www.zend.com/zend/tut/class-intro.php\" target=\"_blank\"]http://www.zend.com/zend/tut/class-intro.php[/a]
But what i'm looking for is a more advance PHP CLASS coding...
specially on large projects i want to know more...
Posted 25 April 2006 - 04:32 PM
you can think of a class like this. An object might be a person, so you create a class to define what a person is.
you can then create an instance of a person. Saying $myperson = new Person(). You can construct the instance of a new person.
I can then work with my object $myperson.
Say I want give my person a name
$myperson->setName(Jeff); This would be a set method in my class that allows me to give the person a name.
Anyway, this is by no means in any detail, but an idea of what a class represents.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users