Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Make JDatabase::replacePrefix() public
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Captain Paralytic  
View profile  
 More options May 5 2012, 3:23 pm
From: Captain Paralytic <paul.laut...@gmail.com>
Date: Sat, 5 May 2012 12:23:46 -0700 (PDT)
Local: Sat, May 5 2012 3:23 pm
Subject: Make JDatabase::replacePrefix() public

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options May 6 2012, 12:25 pm
From: elin <elin.war...@gmail.com>
Date: Sun, 6 May 2012 09:25:44 -0700 (PDT)
Local: Sun, May 6 2012 12:25 pm
Subject: 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Babker  
View profile  
 More options May 6 2012, 12:31 pm
From: Michael Babker <mbab...@flbab.com>
Date: Sun, 06 May 2012 18:31:00 +0200
Subject: Re: [jgen] Re: Make JDatabase::replacePrefix() public

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

--
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.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Lautman  
View profile  
 More options May 7 2012, 2:54 pm
From: Paul Lautman <paul.laut...@gmail.com>
Date: Mon, 7 May 2012 19:54:49 +0100
Local: Mon, May 7 2012 2:54 pm
Subject: Re: [jgen] Re: Make JDatabase::replacePrefix() public

Hi El in,
Where do I find the platform list and where do I go to do a pull request?
On 6 May 2012 17:25, "elin" <elin.war...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Captain Paralytic  
View profile  
 More options May 7 2012, 3:31 pm
From: Captain Paralytic <paul.laut...@gmail.com>
Date: Mon, 7 May 2012 12:31:08 -0700 (PDT)
Local: Mon, May 7 2012 3:31 pm
Subject: Re: [jgen] Re: Make JDatabase::replacePrefix() public

So it is. I must have been working in a 1.7 environment. Great news.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
elin  
View profile  
 More options May 8 2012, 2:29 pm
From: elin <elin.war...@gmail.com>
Date: Tue, 8 May 2012 11:29:09 -0700 (PDT)
Local: Tues, May 8 2012 2:29 pm
Subject: Re: [jgen] Re: Make JDatabase::replacePrefix() public

Platform list:
https://groups.google.com/forum/?fromgroups#!forum/joomla-dev-platform

Pull requests for the platform:
https://github.com/joomla/joomla-platform
Pull requests for the CMS (must also put an issue in the tracker)

https://github.com/joomla/joomla-cms

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »