Trivial error in JCache class?

0 views
Skip to first unread message

Chris Davenport

unread,
Oct 2, 2006, 11:15:38 AM10/2/06
to joomla-d...@googlegroups.com
Hi,

I think I've spotted a (trivial) error in JCache, but if I'm wrong then
please enlighten me!

I was under the impression that the PHP5 constructor is called
__construct, but JCache has a _construct method instead (note the single
underscore). As it happens it should still work correctly as PHP5 will
default to calling JCache::JCache if it fails to find __construct. And
since JCache::JCache calls JCache::_construct all should be well.

But was this deliberate? Is this a mistake or am I missing some deeper
purpose behind it?

Regards,
Chris.

--
Chris Davenport
ch...@dcsnet.demon.co.uk

Reply all
Reply to author
Forward
0 new messages