<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>freude-code &#187; Formular</title>
	<atom:link href="http://www.freude-co.de/tag/formular/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freude-co.de</link>
	<description>PHP, CakePHP und MySQL</description>
	<lastBuildDate>Tue, 06 Apr 2010 07:52:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>mit Cake dt. Datum in SQL Format umwandeln</title>
		<link>http://www.freude-co.de/2009/08/22/mit-cake-dt-datum-in-sql-format-umwandeln/</link>
		<comments>http://www.freude-co.de/2009/08/22/mit-cake-dt-datum-in-sql-format-umwandeln/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 12:31:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Codeschnipsel]]></category>
		<category><![CDATA[Datum]]></category>
		<category><![CDATA[Formular]]></category>
		<category><![CDATA[Helper]]></category>
		<category><![CDATA[Models]]></category>

		<guid isPermaLink="false">http://www.freude-co.de/?p=239</guid>
		<description><![CDATA[Die View liefert das Datum im Format &#8216;yy-mm-dd&#8217; aus. Wir brauchen aber &#8216;dd.mm.yy&#8217;. Dies kann man mit einer selbst geschriebenen Helper-Funktion erledigen. &#60;?php class convertdateHelper extends AppHelper { function toDe($dateYMD) { $ar=explode(&#039;-&#039;,$dateYMD); $ret=$this-&#62;output($ar[2].&#039;.&#039;.$ar[1].&#039;.&#039;.$ar[0]); return $ret; } } ?&#62; In der edit View bekommen wir wieder das Format aus der Datenbank und müssen es wieder ins [...]]]></description>
		<wfw:commentRss>http://www.freude-co.de/2009/08/22/mit-cake-dt-datum-in-sql-format-umwandeln/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple Checkboxen</title>
		<link>http://www.freude-co.de/2008/11/21/multiple-checkboxen/</link>
		<comments>http://www.freude-co.de/2008/11/21/multiple-checkboxen/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 09:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Checkbox]]></category>
		<category><![CDATA[Formular]]></category>

		<guid isPermaLink="false">http://www.freude-co.de/?p=17</guid>
		<description><![CDATA[Entweder habe war ich unfähig richtig zu suchen oder es gibt wirklich keine Möglichkeit mit CakePHP mehr als eine Checkbox anzulegen. Jedenfalls habe ich mir eine eigene Funktion zusammengeschustert. Ich brauchte eine Ansammlung von Checkboxen um ein oder mehrere Produkte auswählen zu können. Hier das Ergebnis für die View: foreach ($options as $id=&#62;$label) { [&#34;product_id&#34;][$id].&#34;&#60;/strong&#62;&#34;; [...]]]></description>
		<wfw:commentRss>http://www.freude-co.de/2008/11/21/multiple-checkboxen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
