<?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 Richard Lyon</title>
	<atom:link href="http://www.richard-lyon.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richard-lyon.com</link>
	<description>Computer Programming</description>
	<lastBuildDate>Fri, 20 Aug 2010 22:29:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on CodeIgniter &#8211; Public Form Validation Callbacks by Richard Lyon</title>
		<link>http://www.richard-lyon.com/tutorials/codeigniter-public-form-validation-callbacks/comment-page-1/#comment-103</link>
		<dc:creator>Richard Lyon</dc:creator>
		<pubDate>Fri, 20 Aug 2010 22:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.richard-lyon.com/?p=365#comment-103</guid>
		<description>Thanks for the input.

Putting the callbacks in a MY_Form_validation.php file should work like you say but unless something has changed since I last used CodeIgniter making the validation function in the controller private would make the validation function inaccessible to the form validation library.</description>
		<content:encoded><![CDATA[<p>Thanks for the input.</p>
<p>Putting the callbacks in a MY_Form_validation.php file should work like you say but unless something has changed since I last used CodeIgniter making the validation function in the controller private would make the validation function inaccessible to the form validation library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter &#8211; Public Form Validation Callbacks by Webdesign Geneva, Too Pixel</title>
		<link>http://www.richard-lyon.com/tutorials/codeigniter-public-form-validation-callbacks/comment-page-1/#comment-102</link>
		<dc:creator>Webdesign Geneva, Too Pixel</dc:creator>
		<pubDate>Fri, 20 Aug 2010 21:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.richard-lyon.com/?p=365#comment-102</guid>
		<description>Personally I put my callbacks in a MY_Form_validation.php file in the /application/libraries/ folder, so I am sure they are not public even if I don&#039;t privatize them.

One other possibility is to use PHP5 private word before the method :

private function my_callback() etc...</description>
		<content:encoded><![CDATA[<p>Personally I put my callbacks in a MY_Form_validation.php file in the /application/libraries/ folder, so I am sure they are not public even if I don&#8217;t privatize them.</p>
<p>One other possibility is to use PHP5 private word before the method :</p>
<p>private function my_callback() etc&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

