On Thu, 2004-05-13 at 11:41, Gregory wrote:
> Rudy Metzger wrote:
>
> >Although you are correct with your explanations to better use methods
> >and private/protected attributes, this is not the core of the problem.
> >The problem is that self:: always refers to the curre
On Wed, 2004-05-12 at 15:18, Mark Constable wrote:
> On Wed, 12 May 2004 10:43 pm, Lieve Vissenaeken wrote:
> > Please ,could anybody help me ? I'm not so familiar with PHP.
> >
> > I've the following problem with my code when I try to make an object from
> > the class "forum" with the code "$test
Strange that you get this error. Normally you should get a "Fatal error:
Cannot redeclare forum::forum() "
PHP does not support 'function overloading', at least not in a way java
is doing it. One of the drawbacks of a free typed langauge (in contrary
to a strictly typed one).
cheerio
/rudy
O
On Wed, 2004-05-12 at 12:41, Jordi Canals wrote:
> Hi all,
>
> It is not a big issue, but that is something that I never had clear.
> I've been looking at the manual and found no answer, so I will ask with
> an example:
>
> When instantiating an object, I could do it in two different ways:
>
>
Dear all,
I have a problem with 'referencing' static attributes. I have the
following class tree.
// --- CLASS A -
class A
{
protected static $myInstance;
}
// --- CLASS B --
class B extends class A
{
}
// --- CLASS C ---
5 matches
Mail list logo