RE: display error line in object method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Georgi Ivanov [mailto:joro@xxxxxxxxxxxxxxx] 

> Thank you for the replay.
> I know i can pass __LINE to $db->error().
> This is not the idea. I want $db->error() to print the line 
> on which it was 
> executed .
> $parent::__LINE__ 
> Who is the $parent here ?

There isn't, necessarily. That was pseudo-code to demonstrate what I
thought you were asking about.

The point of my reply was "I don't think it's possible to do what you
want to do here," and offer up an alternative in passing __LINE__ as an
argument to error().

Good luck!

-- 
Mike Johnson             Smarter Living, Inc.
Web Developer            www.smartertravel.com
mike@xxxxxxxxxxxxxxxxx   (617) 886-5539

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux