![]() |
|
|
+ Search |
![]()
|
Mar 7th, 2008 22:34
dman, Taksh Verdhan, taylor gerring, Peter Morch, http://www.ttnr.org
PHP supports object-oriented programming through the use of classes and ojects. You can find out everything you need to know in the php manual online at http://www.php.net/manual/en/ref.classobj.php In general, the structure is as follows: class mySpace { myFunction() { return 1; } } $someSpace = new mySpace; $theAnswer = $someSpace->myFunction();