Re: How to find where class is used?
| From: | Dotan Cohen | Date: | Fri, 06 Jan 2012 19:10:45 +0000 |
| Subject: | Re: How to find where class is used? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316205@lists.php.net to get a copy of this message | ||
On Fri, Jan 6, 2012 at 15:05, richard gray <rich@richgray.com> wrote:
> Can you not put a debug_print_backtrace() in the class constructor?
>
Thanks, that might have worked.
In the end, I found it by grepping for VisitorMessaging instead of
vB_ProfileBlock_VisitorMessaging. It turns out that there is an array
of the vB_ProfileBlock_* classes and they are called by
vB_ProfileBlock_$className. I personally consider that terrible coding
practice, but then again if vBulletin were well-coded then I would
probably be made redundant so I cannot complain!
Thanks for the help and for the ideas!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com