On Thu, May 28, 2009 at 4:28 PM, Luke wrote:
> Any ideas? Perhaps there is a different way I could implement the classes -
> I would rather not have getObjectIds repeated three times!
just make the classes instance-based, thats your easiest bet.
(sorry for the extra noise)
abstract class Forum
On Thu, May 28, 2009 at 4:28 PM, Luke wrote:
> Right I've read the manual on this and all that so hopefully you find
> people
> can help.
> I have an abstract class with three children. The abstract is ForumObject
> and the three children are Thread, Category and Post and each have their
> own
>
Hi there.
Try doing it this way:
You need to access the class's variable using the $this identifier
e.g.
> class MenueItem {
> var $ID_Menue;
> var $Name;
> var $Parent_ID;
> var $Next_ID;
> var $Prev_ID;
>
>
> function Write() {
> echo "
> Fatal error: Cannot redeclare class dmsql in
It looks like you are after include_once
http://www.php.net/manual/en/function.include-once.php
Todd
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 29, 2002 2:48 PM
Subject: [PHP] Class proble
4 matches
Mail list logo