![]() |
|
|
+ Search |
![]()
|
Mar 22nd, 2008 21:12
ha mo, Himanshu Jain,
You can call an object’s methods and access its properties using a reference to the object(usually stored in a variable)in conjunction with the ->operator; //installing an object $p =new Point(40,60); //calling an object’s method $p->moveTo(20,200); //accessing an object’s property print $p->x; http://www.tantofa.com http://www.fantofa.com http://www.mantofa.com http://www.tanpola.com http://www.tampola.com http://www.yamot.com http://www.mozmar.com http://www.templatestemp.com