Tobyn Baugher [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 1:58 PM
To: php list
Subject: RE: [PHP] Question regarding :: syntax
On Mon, 2002-06-03 at 13:42, Jared Boelens wrote:
> This may be a dumb question but, how can you be sure that the $this-> is
> referring to the parent cla
On Mon, 2002-06-03 at 13:42, Jared Boelens wrote:
> This may be a dumb question but, how can you be sure that the $this-> is
> referring to the parent classes' property and not the current class. On
> that note, does it really matter of which one it refers?
B inherits $b from A. $this->b and "pa
D]]
Sent: Monday, June 03, 2002 12:58 PM
To: php list
Subject: RE: [PHP] Question regarding :: syntax
On Mon, 2002-06-03 at 12:45, Jared Boelens wrote:
> So am i to understand that i will have to do it in this manner?
*SNIP*
No no no... B extends A, and you have an instance of B. Just do thi
On Mon, 2002-06-03 at 12:45, Jared Boelens wrote:
> So am i to understand that i will have to do it in this manner?
*SNIP*
No no no... B extends A, and you have an instance of B. Just do this:
class A
{
var $b;
*snip*
}
class B
{
function B($b)
{
From: Tobyn Baugher [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 12:30 PM
To: php list
Subject: Re: [PHP] Question regarding :: syntax
On Mon, 2002-06-03 at 12:06, Jared Boelens wrote:
> Is there not a way to refer directly to the parent properties? Or do i
have
> to setup a get
On Mon, 2002-06-03 at 12:06, Jared Boelens wrote:
> Is there not a way to refer directly to the parent properties? Or do i have
> to setup a get function for every parent var that I want to access.
Tis my understanding that you cannot refer to class properties without
an instance of the class.
6 matches
Mail list logo