<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Custom validators for Zend_Form_Element</title>
	<atom:link href="http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/feed/" rel="self" type="application/rss+xml" />
	<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/</link>
	<description>Christer Edvartsen's blog about ... things!</description>
	<lastBuildDate>Sun, 13 Dec 2009 12:09:15 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rhys</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5376</link>
		<dc:creator>Rhys</dc:creator>
		<pubDate>Thu, 10 Dec 2009 17:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5376</guid>
		<description>I find Zend to be very difficult to find good resources/plugins for (compared to, say, jQuery), so it&#039;s been refreshing to find this. I just changed the namespace to the one I&#039;m using and it worked straight away, so thanks a lot for your efforts.</description>
		<content:encoded><![CDATA[<p>I find Zend to be very difficult to find good resources/plugins for (compared to, say, jQuery), so it&#8217;s been refreshing to find this. I just changed the namespace to the one I&#8217;m using and it worked straight away, so thanks a lot for your efforts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Habib</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5371</link>
		<dc:creator>Habib</dc:creator>
		<pubDate>Mon, 07 Dec 2009 16:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5371</guid>
		<description>Thanks! I was looking exactly for this! The documentation did not help how to pass in the parameters, but this tutorial helped a lot!</description>
		<content:encoded><![CDATA[<p>Thanks! I was looking exactly for this! The documentation did not help how to pass in the parameters, but this tutorial helped a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 網站製作學習誌 &#187; [Web] 連結分享</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5368</link>
		<dc:creator>網站製作學習誌 &#187; [Web] 連結分享</dc:creator>
		<pubDate>Wed, 25 Nov 2009 02:38:07 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5368</guid>
		<description>[...] Custom validators for Zend_Form_Element [...]</description>
		<content:encoded><![CDATA[<p>[...] Custom validators for Zend_Form_Element [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Snowcore</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5357</link>
		<dc:creator>Snowcore</dc:creator>
		<pubDate>Mon, 26 Oct 2009 16:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5357</guid>
		<description>Here is my example of &lt;a href=&quot;http://snowcore.net/написание-custom-валидатора-для-zend_form&quot; rel=&quot;nofollow&quot;&gt;custom form validators&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Here is my example of <a href="http://snowcore.net/написание-custom-валидатора-для-zend_form" rel="nofollow">custom form validators</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maarten</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5275</link>
		<dc:creator>Maarten</dc:creator>
		<pubDate>Sun, 14 Jun 2009 20:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5275</guid>
		<description>Thanx for this solution I was desperately looking for. Gonna bookmark this blog, by the way!</description>
		<content:encoded><![CDATA[<p>Thanx for this solution I was desperately looking for. Gonna bookmark this blog, by the way!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Glover</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5217</link>
		<dc:creator>Jeremy Glover</dc:creator>
		<pubDate>Wed, 13 May 2009 20:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5217</guid>
		<description>Great article.  I&#039;ll be reworking some similar code tonight when I get home.</description>
		<content:encoded><![CDATA[<p>Great article.  I&#8217;ll be reworking some similar code tonight when I get home.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: codeskrat</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5132</link>
		<dc:creator>codeskrat</dc:creator>
		<pubDate>Tue, 10 Feb 2009 15:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5132</guid>
		<description>I had trouble getting this working, but eventually found my bug. I made the mistake of using a directory named &#039;validate&#039; for my custom validators. This caused my addPrefixPath to look like:
        $this-&gt;addPrefixPath(&#039;Validate&#039;, &#039;Validate/&#039;, &#039;validate&#039;);  

This had the bad side effect of looking for all the default Zend validators in my ../Validate/ directory.

The fix is to make sure your custom validators have a different/unique name/path. In the above example, the &#039;FKK_&#039; makes the path unique, and avoids my problem:
$this-&gt;addPrefixPath(&#039;FKK_Validate&#039;, &#039;FKK/Validate/&#039;, &#039;validate&#039;);

I renamed my Validate directory to CustomValidate, and all is well:

  $this-&gt;addPrefixPath(&#039;FKK_Validate&#039;, &#039;FKK/Validate/&#039;, &#039;validate&#039;);  

Thanks for the tutorial!</description>
		<content:encoded><![CDATA[<p>I had trouble getting this working, but eventually found my bug. I made the mistake of using a directory named &#8216;validate&#8217; for my custom validators. This caused my addPrefixPath to look like:<br />
        $this-&gt;addPrefixPath(&#8216;Validate&#8217;, &#8216;Validate/&#8217;, &#8216;validate&#8217;);  </p>
<p>This had the bad side effect of looking for all the default Zend validators in my ../Validate/ directory.</p>
<p>The fix is to make sure your custom validators have a different/unique name/path. In the above example, the &#8216;FKK_&#8217; makes the path unique, and avoids my problem:<br />
$this-&gt;addPrefixPath(&#8216;FKK_Validate&#8217;, &#8216;FKK/Validate/&#8217;, &#8216;validate&#8217;);</p>
<p>I renamed my Validate directory to CustomValidate, and all is well:</p>
<p>  $this-&gt;addPrefixPath(&#8216;FKK_Validate&#8217;, &#8216;FKK/Validate/&#8217;, &#8216;validate&#8217;);  </p>
<p>Thanks for the tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zend_Form custom validation - Zend Framework Forum</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5121</link>
		<dc:creator>Zend_Form custom validation - Zend Framework Forum</dc:creator>
		<pubDate>Thu, 29 Jan 2009 15:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5121</guid>
		<description>[...] make your own validator and pass to him fields you need.. dont hardcore that thing into validator class because its not reusable then and you will be breaking oop paterns   this will get you started Custom validators for Zend_Form_Element Christer&#8217;s blog o&#8217; fun [...]</description>
		<content:encoded><![CDATA[<p>[...] make your own validator and pass to him fields you need.. dont hardcore that thing into validator class because its not reusable then and you will be breaking oop paterns   this will get you started Custom validators for Zend_Form_Element Christer&#8217;s blog o&#8217; fun [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5118</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Tue, 27 Jan 2009 23:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5118</guid>
		<description>I had trouble getting it working without my own class... eventually just stuck it in the Zend folder...

Then I realised that I&#039;ll absolutely need my own class for each element so I went ahead and made them (well, started) and its working great.  Probably should toss that out there that you basicly DO want to make your own class, no matter what.  Base elements are... ugly!</description>
		<content:encoded><![CDATA[<p>I had trouble getting it working without my own class&#8230; eventually just stuck it in the Zend folder&#8230;</p>
<p>Then I realised that I&#8217;ll absolutely need my own class for each element so I went ahead and made them (well, started) and its working great.  Probably should toss that out there that you basicly DO want to make your own class, no matter what.  Base elements are&#8230; ugly!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: unixvps</title>
		<link>http://cogo.wordpress.com/2008/04/16/custom-validators-for-zend_form_element/#comment-5102</link>
		<dc:creator>unixvps</dc:creator>
		<pubDate>Sat, 10 Jan 2009 22:27:21 +0000</pubDate>
		<guid isPermaLink="false">http://cogo.wordpress.com/?p=234#comment-5102</guid>
		<description>good article to understand how validation works in zend framework!</description>
		<content:encoded><![CDATA[<p>good article to understand how validation works in zend framework!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
