*parent* keyword does not belong to PHP5 !!! It's there in PHP4 as well!
On 8/8/05, Edwin Barrios <[EMAIL PROTECTED]> wrote:
>
> Hi !
>
> you have to defined protected $var.
>
> This is a example where php5 OO model has a little ambiguities.
> Thing a few in your problem !, on de child class s
Hi !
you have to defined protected $var.
This is a example where php5 OO model has a little ambiguities.
Thing a few in your problem !, on de child class scope $var it's
private then when yo execute printVar(), you aren't executed on parent
scope you are calling a copie on child scope, then yo
Norbert Wenzel wrote:
Jochem Maas wrote:
Norbert Wenzel wrote:
private $var;
get rid of the 'private' here and replace it with 'protected'
too stupid. I'm sorry for my question.
the only stupid people are those that don't make an effort - you don't
seem to fall into that ca
Jochem Maas wrote:
Norbert Wenzel wrote:
private $var;
get rid of the 'private' here and replace it with 'protected'
too stupid. I'm sorry for my question.
thank you for opening my eyes.
norbert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
Norbert Wenzel wrote:
Is it possible to run inherited methods in the scope of the child class?
In my case I have an abstract class called 'Company' and some child
classes. There is a non abstract function in 'Company' which prints
'$this->phoneList'. That function should be the same to all chi
Is it possible to run inherited methods in the scope of the child class?
In my case I have an abstract class called 'Company' and some child
classes. There is a non abstract function in 'Company' which prints
'$this->phoneList'. That function should be the same to all child
classes, without re
6 matches
Mail list logo