[PHP] PHP5 interfaces

2003-11-12 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I am currently starting a new personal project and thought that i would start to implement it in PHP5. Now the new object model in PHP5 is really nice and haveing objects bassed by reference by default saves a lot of head aches :)

[PHP] PHP5 interfaces

2003-11-12 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I am currently starting a new personal project and thought that i would start to implement it in PHP5. Now the new object model in PHP5 is really nice and haveing objects bassed by reference by default saves a lot of head aches :)

[PHP] PHP5 interfaces

2003-11-12 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I am currently starting a new personal project and thought that i would start to implement it in PHP5. Now the new object model in PHP5 is really nice and haveing objects bassed by reference by default saves a lot of head aches :)

RE: [PHP] PHP5 interfaces?

2003-09-23 Thread Jay Blanchard
[snip] So does this mean that I can then do: Class BusyBoardMember implements Employee, BoardMember { function position() { // code for Employee implementation; } function position() { // code for BoardMember implementation; } } And if I only i

RE: [PHP] PHP5 interfaces?

2003-09-23 Thread Javier Muniz
AM To: Javier Muniz Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] PHP5 interfaces? On Tue, 2003-09-23 at 14:01, Javier Muniz wrote: > What I meant was not the implementation, what I meant was that there > was no way for the compiler/parser to know whether I was implementing >

Re: [PHP] PHP5 interfaces?

2003-09-23 Thread Robert Cummings
On Tue, 2003-09-23 at 14:01, Javier Muniz wrote: > What I meant was not the implementation, what I meant was that there was no > way for the compiler/parser to know whether I was implementing position() > from the Employee interface or the BoardMember interface, the declaration > was ambiguous. I

Re: [PHP] PHP5 interfaces?

2003-09-23 Thread Javier Muniz
What I meant was not the implementation, what I meant was that there was no way for the compiler/parser to know whether I was implementing position() from the Employee interface or the BoardMember interface, the declaration was ambiguous. If I implement the function there, then (from what I can te

Re: [PHP] PHP5 interfaces?

2003-09-23 Thread Marek Kilimajer
Javier Muniz wrote: interface BoardMember { function position(); // used to set board position of board member } interface Employee { function position(); // used to set job title of employee } class BusyBoardMember implements Employee, BoardMember { function position(); // what d

[PHP] PHP5 interfaces?

2003-09-22 Thread Javier Muniz
Wondering if maybe someone famililar with php5 can respond to this. I am reading about PHP5 and it's interface support, and i have a concern. The purpose of interfaces is to handle multiple inheritance in a fashion that resolves a number of conflicts that arise when performing true multiple inher