Re: [PHP] How to call method from another class

2002-02-03 Thread David Yee
[EMAIL PROTECTED]> Cc: "'David Yee'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 12:07 PM Subject: RE: [PHP] How to call method from another class > > first create an instance of class B like this... > > > > $test

RE: [PHP] How to call method from another class

2002-01-28 Thread Joel Boonstra
> first create an instance of class B like this... > > $test = new classB(); > > Now, u can refer to any function or method of classB like this: > > $test->hello(); // where hello() is a method of classB.. That's not what the original question was, though. David (I think, unless I got my nested

Re: [PHP] How to call method from another class

2002-01-28 Thread David Yee
Got it- thanks Sandeep. David - Original Message - From: "Sandeep Murphy" <[EMAIL PROTECTED]> To: "'David Yee'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 11:12 AM Subject: RE: [PHP] How to call method from

RE: [PHP] How to call method from another class

2002-01-28 Thread Sandeep Murphy
first create an instance of class B like this... $test = new classB(); Now, u can refer to any function or method of classB like this: $test->hello(); // where hello() is a method of classB.. cheers, sands -Original Message- From: David Yee [mailto:[EMAIL PROTECTED]] Sent: segunda-fe