<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Valid-Webs Web Development</title>
	<atom:link href="http://validwebs.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://validwebs.com</link>
	<description>Web Development and Business Solutions</description>
	<lastBuildDate>Mon, 23 Apr 2012 21:03:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Comment on WordPress Benchmark Dev Tool by Find WordPress Plugin and Theme Bottlenecks</title>
		<link>http://validwebs.com/420/wordpress-benchmark-dev-tool/comment-page-1/#comment-180</link>
		<dc:creator>Find WordPress Plugin and Theme Bottlenecks</dc:creator>
		<pubDate>Mon, 23 Apr 2012 21:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com/?p=420#comment-180</guid>
		<description>[...] Read About it Here [...]</description>
		<content:encoded><![CDATA[<p>[...] Read About it Here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code Completion for CodeIgniter in phpStorm by Jeff Behnke</title>
		<link>http://validwebs.com/346/code-completion-for-codeigniter-in-phpstorm/comment-page-1/#comment-161</link>
		<dc:creator>Jeff Behnke</dc:creator>
		<pubDate>Mon, 12 Mar 2012 00:11:29 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com/?p=346#comment-161</guid>
		<description>My comment system is broke at the moment. Comments are all messed up.
Anyway, assuming your referring to CI, mark your query with an var annotation.
Eg.
&lt;pre lang=&quot;php&quot;&gt;/** @var $query CI_DB_mysql_result */
$query = $this-&gt;db-&gt;query(&quot;SELECT * FROM links WHERE user_id = &#039;$user_id&#039; ORDER BY id DESC LIMIT 45&quot;);&lt;/pre&gt;

Now &lt;pre lang=&quot;php&quot;&gt;$query-&gt;row_array()&lt;/pre&gt;
 will work.
This is because $this-&gt;db uses multiple dynamic instances and we can only assign one at a time.

In my phpStorm helper file I assigned this-&gt;db to CI_DB_active_record
For the initial methods and properties.
After that when you assign the var $query to that instance you need to re-annotate it to get the drivers methods, IE 
&lt;pre lang=&quot;php&quot;&gt;/** @var $query CI_DB_mysql_result */&lt;/pre&gt;

Example
&lt;pre lang=&quot;php&quot;&gt;/** @var $query CI_DB_mysql_result */
$query = $this-&gt;db-&gt;query(&quot;SELECT * FROM links WHERE user_id = &#039;$user_id&#039; ORDER BY id DESC LIMIT 45&quot;);
$rows  = $query-&gt;result_array();&lt;/pre&gt;


You might get lost trying to reply, like I said my comment system is a mess.
Should have it fixed tomorrow though.

Hope the above helps. It should.</description>
		<content:encoded><![CDATA[<p>My comment system is broke at the moment. Comments are all messed up.<br />
Anyway, assuming your referring to CI, mark your query with an var annotation.<br />
Eg.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/** @var $query CI_DB_mysql_result */</span>
<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM links WHERE user_id = '<span style="color: #006699; font-weight: bold;">$user_id</span>' ORDER BY id DESC LIMIT 45&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Now</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">row_array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></pre></div></div>

<p> will work.<br />
This is because $this->db uses multiple dynamic instances and we can only assign one at a time.</p>
<p>In my phpStorm helper file I assigned this-&gt;db to CI_DB_active_record<br />
For the initial methods and properties.<br />
After that when you assign the var $query to that instance you need to re-annotate it to get the drivers methods, IE</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/** @var $query CI_DB_mysql_result */</span></pre></div></div>

<p>Example</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/** @var $query CI_DB_mysql_result */</span>
<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;SELECT * FROM links WHERE user_id = '<span style="color: #006699; font-weight: bold;">$user_id</span>' ORDER BY id DESC LIMIT 45&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$rows</span>  <span style="color: #339933;">=</span> <span style="color: #000088;">$query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">result_array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>You might get lost trying to reply, like I said my comment system is a mess.<br />
Should have it fixed tomorrow though.</p>
<p>Hope the above helps. It should.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code Completion for CodeIgniter in phpStorm by leschirmeur</title>
		<link>http://validwebs.com/346/code-completion-for-codeigniter-in-phpstorm/comment-page-1/#comment-160</link>
		<dc:creator>leschirmeur</dc:creator>
		<pubDate>Sun, 11 Mar 2012 21:28:19 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com/?p=346#comment-160</guid>
		<description>Hi Jeff!

Great stuff, thanks very much.

However, I am still getting warning messages for code like 
&quot;$query-&gt;row_array()&quot; where phpstorm does not regonize the row_array() method.

Any ideas what I am doing wrong here?

Thanks very much and kind regards
Sebastian</description>
		<content:encoded><![CDATA[<p>Hi Jeff!</p>
<p>Great stuff, thanks very much.</p>
<p>However, I am still getting warning messages for code like<br />
&#8220;$query-&gt;row_array()&#8221; where phpstorm does not regonize the row_array() method.</p>
<p>Any ideas what I am doing wrong here?</p>
<p>Thanks very much and kind regards<br />
Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on phpBB3 Invitation Only Mod by Jeff Behnke</title>
		<link>http://validwebs.com/the-store/phpbb3-premium-mods/phpbb3-invitation-only-mod/comment-page-1/#comment-122</link>
		<dc:creator>Jeff Behnke</dc:creator>
		<pubDate>Tue, 31 Jan 2012 09:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com#comment-122</guid>
		<description>Yes it does. Also tested on the latest 3.0.10</description>
		<content:encoded><![CDATA[<p>Yes it does. Also tested on the latest 3.0.10</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code Completion for CodeIgniter in phpStorm by Jeff Behnke</title>
		<link>http://validwebs.com/346/code-completion-for-codeigniter-in-phpstorm/comment-page-1/#comment-121</link>
		<dc:creator>Jeff Behnke</dc:creator>
		<pubDate>Tue, 31 Jan 2012 09:41:26 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com/?p=346#comment-121</guid>
		<description>It will, but it will most likely need to be adjusted for it depending on how the HMVC is setup.

So its going to depend on the HMVC.
I worked with a couple CI CMS&#039;s about 6 months ago that were HMVC and was able to get most code completion working.
But each was different to setup.</description>
		<content:encoded><![CDATA[<p>It will, but it will most likely need to be adjusted for it depending on how the HMVC is setup.</p>
<p>So its going to depend on the HMVC.<br />
I worked with a couple CI CMS&#8217;s about 6 months ago that were HMVC and was able to get most code completion working.<br />
But each was different to setup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Code Completion for CodeIgniter in phpStorm by jonatanfroes</title>
		<link>http://validwebs.com/346/code-completion-for-codeigniter-in-phpstorm/comment-page-1/#comment-119</link>
		<dc:creator>jonatanfroes</dc:creator>
		<pubDate>Mon, 30 Jan 2012 13:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com/?p=346#comment-119</guid>
		<description>does it work w/ HMVC?</description>
		<content:encoded><![CDATA[<p>does it work w/ HMVC?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on phpBB3 Invitation Only Mod by goodselleronline</title>
		<link>http://validwebs.com/the-store/phpbb3-premium-mods/phpbb3-invitation-only-mod/comment-page-1/#comment-111</link>
		<dc:creator>goodselleronline</dc:creator>
		<pubDate>Sat, 21 Jan 2012 06:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com#comment-111</guid>
		<description>does this work for phpbb 3.0.9
if yes please write back to me
i would like to purchase it
</description>
		<content:encoded><![CDATA[<p>does this work for phpbb 3.0.9<br />
if yes please write back to me<br />
i would like to purchase it</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Benchmark Your Themes by Jeff Behnke</title>
		<link>http://validwebs.com/85/benchmark-your-themes/comment-page-1/#comment-45</link>
		<dc:creator>Jeff Behnke</dc:creator>
		<pubDate>Thu, 26 Aug 2010 20:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com/?p=85#comment-45</guid>
		<description>Thank you for the comment.
I will be writing more tricks each week, this is kind of the plan anyway. :)</description>
		<content:encoded><![CDATA[<p>Thank you for the comment.<br />
I will be writing more tricks each week, this is kind of the plan anyway. <img src='http://validwebs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Benchmark Your Themes by nuresponse</title>
		<link>http://validwebs.com/85/benchmark-your-themes/comment-page-1/#comment-44</link>
		<dc:creator>nuresponse</dc:creator>
		<pubDate>Thu, 26 Aug 2010 19:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com/?p=85#comment-44</guid>
		<description>Jeff,
Thanks for this article... your mention of how to add a filter to rewrite the end of the nav menu was exactly what I was looking for. I&#039;ll be using that little script on a couple upcoming WP 3.0 projects.

If you have other tricks like that I&#039;d love to hear more...

I&#039;m looking for someone to help me customize a form builder to work with our API. If you have time to take on a small plugin development OR plugin customization, let me know.</description>
		<content:encoded><![CDATA[<p>Jeff,<br />
Thanks for this article&#8230; your mention of how to add a filter to rewrite the end of the nav menu was exactly what I was looking for. I&#8217;ll be using that little script on a couple upcoming WP 3.0 projects.</p>
<p>If you have other tricks like that I&#8217;d love to hear more&#8230;</p>
<p>I&#8217;m looking for someone to help me customize a form builder to work with our API. If you have time to take on a small plugin development OR plugin customization, let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XHTML valid target by Open External Links in a New Window</title>
		<link>http://validwebs.com/27/xhtml-valid-target/comment-page-1/#comment-25</link>
		<dc:creator>Open External Links in a New Window</dc:creator>
		<pubDate>Tue, 06 Jul 2010 01:30:05 +0000</pubDate>
		<guid isPermaLink="false">http://validwebs.com/?p=27#comment-25</guid>
		<description>[...] Expanding on the post about XHTML valid target post. [...]</description>
		<content:encoded><![CDATA[<p>[...] Expanding on the post about XHTML valid target post. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

