Re: [PHP-DEV] Cannot login to CVS Server.

2006-10-31 Thread Sakamoto Kouichi
Hello,

My account 'kouichi66' seems not yet created.
What should I do?

> Hello,
> 
> > Hello
> > 
> > On 10/20/06, Sakamoto Kouichi <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > > A simple check on master.php.net will telly you that the account has
> > > > not been created :)
> > >
> > > Thank you!!
> > > Should I apply for the account again from http://www.php.net/cvs-php.php?
> > 
> > No need to request another account. I think the admins know now that
> > this request was valid and will create it as soon as possible.
> 
> OK, I wait.
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] CVS Account Request: adi

2006-10-31 Thread Adam Major
I working in Polish translation team since approx. 2001. From still active 
translators only Leszek have write access to cvs.php.net.  I want help 
contribute to the PHP original documentation and solve bugs.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Re: Old times

2006-10-31 Thread eflash
Have a look at these.

+++ Attachment: No Virus found
+++ Panda AntiVirus - www.pandasoftware.com


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Evert | Rooftop

Hi List,

Sorry if this is the wrong list for this kind of stuff.. I'd be happy to 
re-post this to the users mailing list.


With the recent updates that will raise E_STRICT on static calls that 
are non static, how do we properly do the following..


I have a class named 'GrandParent' a class named 'Parent' and a class 
named 'Child'


GrandParent has a constructor, Parent overrides it and Child does too.. 
What if I want to call GrandParent's constructor from the child?


Most languages allow this through casting the class into the ancestor 
and call then call the method, but I can't do this with PHP, or can I ? 
The other solution (right now) would be GrandParent::__construct(), but 
this is not OOP anymore.. So it seems kind of weird that we get limited 
in functionality, for OOP-ness, but not adding the functionality to 
solve common design problems that we're raised by introducing this..


Will we get casting in the future?

Evert

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Jasper Bryant-Greene
adding parent::__construct() in the constructors of both Parent and
Child should do what you want.

Jasper

Evert | Rooftop wrote:
> Hi List,
> 
> Sorry if this is the wrong list for this kind of stuff.. I'd be happy to
> re-post this to the users mailing list.
> 
> With the recent updates that will raise E_STRICT on static calls that
> are non static, how do we properly do the following..
> 
> I have a class named 'GrandParent' a class named 'Parent' and a class
> named 'Child'
> 
> GrandParent has a constructor, Parent overrides it and Child does too..
> What if I want to call GrandParent's constructor from the child?
> 
> Most languages allow this through casting the class into the ancestor
> and call then call the method, but I can't do this with PHP, or can I ?
> The other solution (right now) would be GrandParent::__construct(), but
> this is not OOP anymore.. So it seems kind of weird that we get limited
> in functionality, for OOP-ness, but not adding the functionality to
> solve common design problems that we're raised by introducing this..
> 
> Will we get casting in the future?
> 
> Evert
> 

-- 
Jasper Bryant-Greene
Director
Album Limited

[EMAIL PROTECTED]
+64 21 708 334 / 0800 425 286
http://www.albumltd.co.nz/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Evert | Rooftop

Yes, but I want to ignore Parent behaviour, and Re-inherit GrandParent
behaviour..

Evert

Jasper Bryant-Greene wrote:

adding parent::__construct() in the constructors of both Parent and
Child should do what you want.

Jasper

Evert | Rooftop wrote:
  

Hi List,

Sorry if this is the wrong list for this kind of stuff.. I'd be happy to
re-post this to the users mailing list.

With the recent updates that will raise E_STRICT on static calls that
are non static, how do we properly do the following..

I have a class named 'GrandParent' a class named 'Parent' and a class
named 'Child'

GrandParent has a constructor, Parent overrides it and Child does too..
What if I want to call GrandParent's constructor from the child?

Most languages allow this through casting the class into the ancestor
and call then call the method, but I can't do this with PHP, or can I ?
The other solution (right now) would be GrandParent::__construct(), but
this is not OOP anymore.. So it seems kind of weird that we get limited
in functionality, for OOP-ness, but not adding the functionality to
solve common design problems that we're raised by introducing this..

Will we get casting in the future?

Evert




  


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Jochem Maas
Jasper Bryant-Greene wrote:
> adding parent::__construct() in the constructors of both Parent and
> Child should do what you want.

not only that but you 'should' _always_ really be calling the complete
constructor chain (e.g. Gparent < Parent < Child) according to "OO theory" -
the thought being that the construction phase is critical to instantiating
a class instance, a subclass should be able to rely on the fact that the 
baseclass
definition is completely/correct instantiated when it is created.

sounds to me that either your class hierarchy is 'wrong' or there is
some code in the Parent ctor that should belopng in some optional (protected?)
setup/utility function. just a thought.


> 
> Jasper
> 
> Evert | Rooftop wrote:
>> Hi List,
>>
>> Sorry if this is the wrong list for this kind of stuff.. I'd be happy to
>> re-post this to the users mailing list.
>>
>> With the recent updates that will raise E_STRICT on static calls that
>> are non static, how do we properly do the following..
>>
>> I have a class named 'GrandParent' a class named 'Parent' and a class
>> named 'Child'
>>
>> GrandParent has a constructor, Parent overrides it and Child does too..
>> What if I want to call GrandParent's constructor from the child?
>>
>> Most languages allow this through casting the class into the ancestor
>> and call then call the method, but I can't do this with PHP, or can I ?
>> The other solution (right now) would be GrandParent::__construct(), but
>> this is not OOP anymore.. So it seems kind of weird that we get limited
>> in functionality, for OOP-ness, but not adding the functionality to
>> solve common design problems that we're raised by introducing this..
>>
>> Will we get casting in the future?
>>
>> Evert
>>
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] Using grand-parent constructor

2006-10-31 Thread Hannes Magnusson

GrandParent::__construct();

On 10/31/06, Evert | Rooftop <[EMAIL PROTECTED]> wrote:

Yes, but I want to ignore Parent behaviour, and Re-inherit GrandParent
behaviour..

Evert

Jasper Bryant-Greene wrote:
> adding parent::__construct() in the constructors of both Parent and
> Child should do what you want.
>
> Jasper
>
> Evert | Rooftop wrote:
>
>> Hi List,
>>
>> Sorry if this is the wrong list for this kind of stuff.. I'd be happy to
>> re-post this to the users mailing list.
>>
>> With the recent updates that will raise E_STRICT on static calls that
>> are non static, how do we properly do the following..
>>
>> I have a class named 'GrandParent' a class named 'Parent' and a class
>> named 'Child'
>>
>> GrandParent has a constructor, Parent overrides it and Child does too..
>> What if I want to call GrandParent's constructor from the child?
>>
>> Most languages allow this through casting the class into the ancestor
>> and call then call the method, but I can't do this with PHP, or can I ?
>> The other solution (right now) would be GrandParent::__construct(), but
>> this is not OOP anymore.. So it seems kind of weird that we get limited
>> in functionality, for OOP-ness, but not adding the functionality to
>> solve common design problems that we're raised by introducing this..
>>
>> Will we get casting in the future?
>>
>> Evert
>>
>>
>
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php