Sorry for the top posting... I didn't mean to send that message
anyway... it had pretty much been answered already. Fat fingers!
-Rob
___
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentation
to whom it is addressed.
- Original Message -
From: Andy Dirnberger
To: 'NYPHP Talk'
Sent: Friday, July 27, 2007 10:43 AM
Subject: RE: [nyphp-talk] OOP Error/Question
Try self::$builtMessage = $errorStr;
Or another option is to adopt the singleton pattern. This will
give you the
Error/Question
variables can be defined as static also...
- Original Message -
From: "Ben Sgro (ProjectSkyLine)"
Date: Friday, July 27, 2007 10:52 am
Subject: Re: [nyphp-talk] OOP Error/Question
To: NYPHP Talk
> Hello Andy,
>
> I tried your 1st, quicker meth
/Question
variables can be defined as static also...
- Original Message -
From: "Ben Sgro (ProjectSkyLine)"
Date: Friday, July 27, 2007 10:52 am
Subject: Re: [nyphp-talk] OOP Error/Question
To: NYPHP Talk
> Hello Andy,
>
> I tried your 1st, qu
ny: www.projectskyline.com> Our products: www.project-contact.com> > This
e-mail is confidential information intended only for the > use of the
individual to whom it is addressed.> - Original Message ----- > From:
Andy Dirnberger > To: 'NYPHP Talk' > Sent: Frid
e.com
Our products: www.project-contact.com
This e-mail is confidential information intended only for the use of the
individual to whom it is addressed.
- Original Message -
From: Andy Dirnberger
To: 'NYPHP Talk'
Sent: Friday, July 27, 2007 10:43 AM
Subject: RE: [ny
();
$err->Backtrace ();
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ben Sgro (ProjectSkyLine)
Sent: Friday, July 27, 2007 10:29 AM
To: NYPHP Talk
Subject: Re: [nyphp-talk] OOP Error/Question
Hello,
Thanks, both your fixes fixed this issue.
However, it br
rgStr ";
}
$this->builtMessage = $errorStr;
}
Which is called from another function:
case LOG_LEVEL_ALERT:
self::Backtrace( );
- Ben
Ben Sgro, Chief Engineer
ProjectSkyLine - Defining New Horizons
- Original Message -
From: [EMAIL PROTE
you're calling Error statically, so there can't be any object instance
references... instead of $this->Backtrace(), use self::Backtrace();-
Original Message -From: "Ben Sgro (ProjectSkyLine)" Date: Friday, July 27,
2007 10:10 amSubject: [nyphp-talk] OOP Error/QuestionTo: NYPHP Talk > Goo
Try self::Backtrace ();, making sure that Backtrace is marked as static.
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ben Sgro (ProjectSkyLine)
Sent: Friday, July 27, 2007 10:11 AM
To: NYPHP Talk
Subject: [nyphp-talk] OOP Error/Question
Good morning,
So, I
Good morning,
So, I have a script where I'm calling:
function ReceivePOPEmail($popObject)
{
$error = $popObject->Login($popObject->username,$popObject->password,
$popObject->apop);
if ( $error != '' )
{
/* We've had a
11 matches
Mail list logo