<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Irajkovic</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Irajkovic"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Irajkovic"/>
	<updated>2026-07-09T20:46:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Archived_talk:Developing_a_MVC_Component/Using_the_database&amp;diff=26649</id>
		<title>Archived talk:Developing a MVC Component/Using the database</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Archived_talk:Developing_a_MVC_Component/Using_the_database&amp;diff=26649"/>
		<updated>2010-04-08T19:23:38Z</updated>

		<summary type="html">&lt;p&gt;Irajkovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This should really not be the default developing MVC component, the default should redirect to the documentation for whatever is current and this should be on a 1.6 specific page.&lt;br /&gt;
&lt;br /&gt;
In what sense is it the default? [[User:Chris Davenport|Chris Davenport]] 20:03, 4 March 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure is this good place to report issues with some sample code found in this tutorial, but it looks like JDatabaseQuery class has not actually being implemented in Joomla 1.6.0 Alpha2. This is causing problems with implementing Menu Item &amp;quot;Required Parameters&amp;quot;. Comments in following code explain this a little bit better.&lt;br /&gt;
&lt;br /&gt;
File: /administrator/components/com_testing/models/fields/testing.php (part of Joomla 1.6 test component)&lt;br /&gt;
&lt;br /&gt;
     26                 $db =&amp;amp; JFactory::getDBO();&lt;br /&gt;
     27                 /* JDatabaseQuery class could not be found, so following 3 lines caused error&lt;br /&gt;
     28                 $query = new JDatabaseQuery;&lt;br /&gt;
     29                 $query-&amp;gt;select(&#039;id,greeting&#039;);&lt;br /&gt;
     30                 $query-&amp;gt;from(&#039;#__testing&#039;);&lt;br /&gt;
     31                 */&lt;br /&gt;
     32                 //manually creating query string instead&lt;br /&gt;
     33                 $query = &#039;SELECT id,greeting FROM #__testing&#039;;&lt;br /&gt;
     34                 $db-&amp;gt;setQuery($query);&lt;br /&gt;
&lt;br /&gt;
I recon this is something that would be fixed by actually implementing JDatabaseQuery class once Joomla 1.6 is in beta or latter stage, but for know it could be confusing to those of use following this tutorial.  :)&lt;br /&gt;
&lt;br /&gt;
[[User:irajkovic|Ivan Rajkovic]] 8 April 2010 (UTC)&lt;/div&gt;</summary>
		<author><name>Irajkovic</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Archived_talk:Developing_a_MVC_Component/Using_the_database&amp;diff=26648</id>
		<title>Archived talk:Developing a MVC Component/Using the database</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Archived_talk:Developing_a_MVC_Component/Using_the_database&amp;diff=26648"/>
		<updated>2010-04-08T19:22:11Z</updated>

		<summary type="html">&lt;p&gt;Irajkovic: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This should really not be the default developing MVC component, the default should redirect to the documentation for whatever is current and this should be on a 1.6 specific page.&lt;br /&gt;
&lt;br /&gt;
In what sense is it the default? [[User:Chris Davenport|Chris Davenport]] 20:03, 4 March 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&#039;m not sure is this good place to report issues with some sample code found in this tutorial, but it looks like JDatabaseQuery class has not actually being implemented in Joomla 1.6.0 Alpha2. This is causing problems with implementing Menu Item &amp;quot;Required Parameters&amp;quot;. Comments in following code explain this a little bit better.&lt;br /&gt;
&lt;br /&gt;
File: /administrator/components/com_testing/models/fields/testing.php (part of Joomla 1.6 test component)&lt;br /&gt;
&lt;br /&gt;
     26                 $db =&amp;amp; JFactory::getDBO();&lt;br /&gt;
     27                 /* JDatabaseQuery class could not be found, so following 3 lines caused error&lt;br /&gt;
     28                 $query = new JDatabaseQuery;&lt;br /&gt;
     29                 $query-&amp;gt;select(&#039;id,greeting&#039;);&lt;br /&gt;
     30                 $query-&amp;gt;from(&#039;#__testing&#039;);&lt;br /&gt;
     31                 */&lt;br /&gt;
     32                 //manually creating query string instead&lt;br /&gt;
     33                 $query = &#039;SELECT id,greeting FROM #__testing&#039;;&lt;br /&gt;
     34                 $db-&amp;gt;setQuery($query);&lt;br /&gt;
&lt;br /&gt;
I recon this is something that would be fixed by actually implementing JDatabaseQuery class once Joomla 1.6 is in beta or latter stage, but for know it could be confusing to those of use following this tutorial.  :)&lt;br /&gt;
&lt;br /&gt;
Best, Ivan Rajkovic.&lt;/div&gt;</summary>
		<author><name>Irajkovic</name></author>
	</entry>
</feed>