-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 :)
-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 :)
-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 :)
[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
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
>
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
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
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
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
9 matches
Mail list logo