Ian Barnes wrote:
Hi Ryan,
I am including a different class.inc.php file each time the foreach loops.
Each one sits in a different dir. Yes, I do get that error.
My understanding of OOP is that I could null the $sdk variable and re-init
it when the loop starts again..
You'd be right if
Hi Thomas,
Thanks for the help. That didn't work though ...
Its now set to be $SDK = new sdk;
Nothing :(
-Original Message-
From: Thomas [mailto:[EMAIL PROTECTED]
Sent: 08 September 2005 09:08 AM
To: 'Ian Barnes'
Subject: RE: [PHP] Help with Class
Sorry for not explaining ... [code
Ian Barnes wrote:
require_once (
$fetchd['path'].'sdk/ipbsdk_class.inc.php' );
What is the above line doing? It looks like you are trying to redeclare
the ipbsdk class each time around the loop which is illegal in php. You
can't do :
class ipbsdk {
: Ryan Creaser [mailto:[EMAIL PROTECTED]
Sent: 09 September 2005 12:34 AM
To: Ian Barnes
Cc: PHP General
Subject: Re: [PHP] Help with Class
Ian Barnes wrote:
require_once (
$fetchd['path'].'sdk/ipbsdk_class.inc.php' );
What is the above line doing? It looks
Hi,
I am writing a site where I need to access multiple classes of the same name
located under certain directories. The reason for each directory is because
the class under that directory talks only to the files in that directory and
cant do multiple (its not my software)
I have it so that
I would have guessed unset($sqk); to work, but also try $sdk = null;
Jason
On 9/7/05, Ian Barnes [EMAIL PROTECTED] wrote:
Hi,
I am writing a site where I need to access multiple classes of the same
name
located under certain directories. The reason for each directory is
because
] Help with Class
I would have guessed unset($sqk); to work, but also try $sdk = null;
Jason
On 9/7/05, Ian Barnes [EMAIL PROTECTED] wrote:
Hi,
I am writing a site where I need to access multiple classes of the same name
located under certain directories. The reason for each directory
] Help with Class
I would have guessed unset($sqk); to work, but also try $sdk = null;
Jason
On 9/7/05, Ian Barnes [EMAIL PROTECTED] wrote:
Hi,
I am writing a site where I need to access multiple classes of the same name
located under certain directories. The reason for each directory
8 matches
Mail list logo