It's still there - it's not deprecated. Looking back it was public in
1.5 but has been protected since 1.6.
What's your use case?
Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla 1.6 developers
> --
> You received this message because you are subscribed to the Google Groups "Joomla! Framework Development" group.
> To post to this group, send an email to joomla-dev...@googlegroups.com.
> To unsubscribe from this group, send email to joomla-dev-frame...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomla-dev-framework?hl=en-GB.
>
>
Ok, I must have looked at the wrong file version.
> in a particular SQL statement that we use:
>
> SHOW TABLE STATUS LIKE '#__xxxxxxx';
In 1.7 I'd write that like:
$db = JFactory::getDbo();
$db->setQuery('SHOW TABLE STATUS LIKE '.
$db->q($db->getPrefix().'xxxxx')
);
I think that should work.
That will work fine in 1.5 too I think.
What do you think?
Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla 1.6 developers
By all means, send a pull request for it. If that's what it was in
1.6, then for backward compatibility reasons we can change it back.
It's not a big deal and it's probably a 50/50 call on whether it
should be protected or not.
However, the code using getPrefix will work perfectly well in 1.5 as
well. getPrefix is there available so there is absolutely no
incompatibility. I can't recall if it exists in 1.0, but then I
probably am not concerned if it does or not :)
Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla 1.6 developers