<?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 on: Zend Framework View Helper for Smarty Cycle</title>
	<atom:link href="http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/</link>
	<description>Just another developer blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 02:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: CD Printers</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7813</link>
		<dc:creator>CD Printers</dc:creator>
		<pubDate>Tue, 28 Sep 2010 13:13:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7813</guid>
		<description>Great article!  Thank you for sharing this!</description>
		<content:encoded><![CDATA[<p>Great article!  Thank you for sharing this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CD DVD Printer </title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7804</link>
		<dc:creator>CD DVD Printer </dc:creator>
		<pubDate>Wed, 01 Sep 2010 13:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7804</guid>
		<description>Thank you for sharing the codes.</description>
		<content:encoded><![CDATA[<p>Thank you for sharing the codes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zebra Tables In Zend Framework : mnavasca.ca</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7639</link>
		<dc:creator>Zebra Tables In Zend Framework : mnavasca.ca</dc:creator>
		<pubDate>Sat, 22 Aug 2009 02:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7639</guid>
		<description>[...] For a split second I longed for Smarty&#8217;s {cycle} function. Does ZF have something similar? Well of course it does, and it&#8217;s even has the word &#8216;cycle&#8217; in it! [...]</description>
		<content:encoded><![CDATA[<p>[...] For a split second I longed for Smarty&#8217;s {cycle} function. Does ZF have something similar? Well of course it does, and it&#8217;s even has the word &#8216;cycle&#8217; in it! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7398</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 07 Mar 2009 02:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7398</guid>
		<description>Oops, missing a parens up there, should be:

echo (is_int($this-&gt;partialCounter / 2) ? &#039;g&#039; : &#039;&#039;)</description>
		<content:encoded><![CDATA[<p>Oops, missing a parens up there, should be:</p>
<p>echo (is_int($this-&gt;partialCounter / 2) ? &#8216;g&#8217; : &#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7397</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Sat, 07 Mar 2009 02:28:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7397</guid>
		<description>If, like me, you found this helpful blog while looking for a way to alternate colors while using a partialLoop, you may not need the Cycle helper.  partialLoop() assigns a variable, &quot;partialCounter&quot;, to the view, which indicates its position in the loop.  So, if you need to alternate between &quot;yes&quot; and &quot;no&quot;, you could do this:

echo is_int($this-&gt;partialCounter / 2) ? &#039;no&#039; : &#039;yes&#039;)

Hope this helps someone!</description>
		<content:encoded><![CDATA[<p>If, like me, you found this helpful blog while looking for a way to alternate colors while using a partialLoop, you may not need the Cycle helper.  partialLoop() assigns a variable, &#8220;partialCounter&#8221;, to the view, which indicates its position in the loop.  So, if you need to alternate between &#8220;yes&#8221; and &#8220;no&#8221;, you could do this:</p>
<p>echo is_int($this-&gt;partialCounter / 2) ? &#8216;no&#8217; : &#8216;yes&#8217;)</p>
<p>Hope this helps someone!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabi Solomon</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7245</link>
		<dc:creator>Gabi Solomon</dc:creator>
		<pubDate>Wed, 17 Dec 2008 19:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7245</guid>
		<description>i guess its a matter of choice  ... for me using a helper looks more cleaner.

PS: sorry no code tag in comments</description>
		<content:encoded><![CDATA[<p>i guess its a matter of choice  &#8230; for me using a helper looks more cleaner.</p>
<p>PS: sorry no code tag in comments</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph Schindler</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7244</link>
		<dc:creator>Ralph Schindler</dc:creator>
		<pubDate>Wed, 17 Dec 2008 18:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7244</guid>
		<description>I thought you might say that ;)

In that case its no longer a 1 liner:

http://pastebin.com/f1d84e50


BTW, is there a code tag in your comments section available?</description>
		<content:encoded><![CDATA[<p>I thought you might say that <img src='http://www.gsdesign.ro/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In that case its no longer a 1 liner:</p>
<p><a href="http://pastebin.com/f1d84e50" rel="nofollow">http://pastebin.com/f1d84e50</a></p>
<p>BTW, is there a code tag in your comments section available?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabi Solomon</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7243</link>
		<dc:creator>Gabi Solomon</dc:creator>
		<pubDate>Wed, 17 Dec 2008 16:45:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7243</guid>
		<description>that is one option, but its a little more trickier when working with more then 2 values.</description>
		<content:encoded><![CDATA[<p>that is one option, but its a little more trickier when working with more then 2 values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph Schindler</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7242</link>
		<dc:creator>Ralph Schindler</dc:creator>
		<pubDate>Wed, 17 Dec 2008 16:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7242</guid>
		<description>That didnt work out so well on my last post.. ;)

http://pastebin.com/f161b3b1b</description>
		<content:encoded><![CDATA[<p>That didnt work out so well on my last post.. <img src='http://www.gsdesign.ro/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://pastebin.com/f161b3b1b" rel="nofollow">http://pastebin.com/f161b3b1b</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph Schindler</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-view-helper-for-smarty-cycle/comment-page-1/#comment-7241</link>
		<dc:creator>Ralph Schindler</dc:creator>
		<pubDate>Wed, 17 Dec 2008 16:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=279#comment-7241</guid>
		<description>Another way to achieve this in your view scripts:

Color Cycler:

&lt;? for ($i = 0; $i 
   
   The current color is .


Not only do you get outputting, but you also get assignment! :)

-ralph</description>
		<content:encoded><![CDATA[<p>Another way to achieve this in your view scripts:</p>
<p>Color Cycler:</p>
<p>&lt;? for ($i = 0; $i </p>
<p>   The current color is .</p>
<p>Not only do you get outputting, but you also get assignment! <img src='http://www.gsdesign.ro/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>-ralph</p>
]]></content:encoded>
	</item>
</channel>
</rss>

