On Sunday, 6 May 2012 17:31:00 UTC+1, Michael B. wrote:
> The replacePrefix() method is public in the current version of the CMS and
> Platform…
> From: elin <elin.war...@gmail.com>
> Reply-To: <joomla-dev-general@googlegroups.com>
> Date: Sunday, May 6, 2012 6:25 PM
> To: <joomla-dev-general@googlegroups.com>
> Subject: [jgen] Re: Make JDatabase::replacePrefix() public
> The place to discuss something like that would be on the platform list or
> you could just do a pull request proposing the change and someone will
> probably explain why it can't or shouldn't be changed or if it can be
> they'll take the pull request.
> Elin
> On Saturday, May 5, 2012 3:23:46 PM UTC-4, Captain Paralytic wrote:
>> When debugging components it is useful to output the query using the
>> getQuery() method. However the output still retains the table prefix
>> placeholder (#__).
>> It would be good to be able to output the query with the prefix
>> substitution already done.
>> The call $db->replacePrefix($db->getQuery()) will not work because the
>> method replacePrefix is protected.
>> Whist it is possible to utilise this method by invoking php's reflection
>> abilities (I have a plugin that I use to do this), there really should be
>> no need to jump through such hoops just to use this very useful method.
>> Can we please simply declare it as public in the future?
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/d7uNm9U1XwcJ.
> To post to this group, send an email to
> joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.
On Sunday, 6 May 2012 17:31:00 UTC+1, Michael B. wrote:
> The replacePrefix() method is public in the current version of the CMS and
> Platform…
> From: elin <elin.war...@gmail.com>
> Reply-To: <joomla-dev-general@googlegroups.com>
> Date: Sunday, May 6, 2012 6:25 PM
> To: <joomla-dev-general@googlegroups.com>
> Subject: [jgen] Re: Make JDatabase::replacePrefix() public
> The place to discuss something like that would be on the platform list or
> you could just do a pull request proposing the change and someone will
> probably explain why it can't or shouldn't be changed or if it can be
> they'll take the pull request.
> Elin
> On Saturday, May 5, 2012 3:23:46 PM UTC-4, Captain Paralytic wrote:
>> When debugging components it is useful to output the query using the
>> getQuery() method. However the output still retains the table prefix
>> placeholder (#__).
>> It would be good to be able to output the query with the prefix
>> substitution already done.
>> The call $db->replacePrefix($db->getQuery()) will not work because the
>> method replacePrefix is protected.
>> Whist it is possible to utilise this method by invoking php's reflection
>> abilities (I have a plugin that I use to do this), there really should be
>> no need to jump through such hoops just to use this very useful method.
>> Can we please simply declare it as public in the future?
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/d7uNm9U1XwcJ.
> To post to this group, send an email to
> joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.
On Sunday, 6 May 2012 17:31:00 UTC+1, Michael B. wrote:
> The replacePrefix() method is public in the current version of the CMS and
> Platform…
> From: elin <elin.war...@gmail.com>
> Reply-To: <joomla-dev-general@googlegroups.com>
> Date: Sunday, May 6, 2012 6:25 PM
> To: <joomla-dev-general@googlegroups.com>
> Subject: [jgen] Re: Make JDatabase::replacePrefix() public
> The place to discuss something like that would be on the platform list or
> you could just do a pull request proposing the change and someone will
> probably explain why it can't or shouldn't be changed or if it can be
> they'll take the pull request.
> Elin
> On Saturday, May 5, 2012 3:23:46 PM UTC-4, Captain Paralytic wrote:
>> When debugging components it is useful to output the query using the
>> getQuery() method. However the output still retains the table prefix
>> placeholder (#__).
>> It would be good to be able to output the query with the prefix
>> substitution already done.
>> The call $db->replacePrefix($db->getQuery()) will not work because the
>> method replacePrefix is protected.
>> Whist it is possible to utilise this method by invoking php's reflection
>> abilities (I have a plugin that I use to do this), there really should be
>> no need to jump through such hoops just to use this very useful method.
>> Can we please simply declare it as public in the future?
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/d7uNm9U1XwcJ.
> To post to this group, send an email to
> joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.
On Sunday, 6 May 2012 17:31:00 UTC+1, Michael B. wrote:
> The replacePrefix() method is public in the current version of the CMS and
> Platform…
> From: elin <elin.war...@gmail.com>
> Reply-To: <joomla-dev-general@googlegroups.com>
> Date: Sunday, May 6, 2012 6:25 PM
> To: <joomla-dev-general@googlegroups.com>
> Subject: [jgen] Re: Make JDatabase::replacePrefix() public
> The place to discuss something like that would be on the platform list or
> you could just do a pull request proposing the change and someone will
> probably explain why it can't or shouldn't be changed or if it can be
> they'll take the pull request.
> Elin
> On Saturday, May 5, 2012 3:23:46 PM UTC-4, Captain Paralytic wrote:
>> When debugging components it is useful to output the query using the
>> getQuery() method. However the output still retains the table prefix
>> placeholder (#__).
>> It would be good to be able to output the query with the prefix
>> substitution already done.
>> The call $db->replacePrefix($db->getQuery()) will not work because the
>> method replacePrefix is protected.
>> Whist it is possible to utilise this method by invoking php's reflection
>> abilities (I have a plugin that I use to do this), there really should be
>> no need to jump through such hoops just to use this very useful method.
>> Can we please simply declare it as public in the future?
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/d7uNm9U1XwcJ.
> To post to this group, send an email to
> joomla-dev-general@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-general+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-general?hl=en-GB.