<?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>PHP 4u Web developer - 代码的简化 &#187; html</title>
	<atom:link href="http://php4u.co.uk/tag/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://php4u.co.uk</link>
	<description>PHP related blog, freelancer to hire!</description>
	<lastBuildDate>Fri, 27 Aug 2010 12:09:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>HTML code in Zend Forms description</title>
		<link>http://php4u.co.uk/2009/03/html-code-in-zend-forms-description/</link>
		<comments>http://php4u.co.uk/2009/03/html-code-in-zend-forms-description/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 22:06:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[zend_form]]></category>

		<guid isPermaLink="false">http://php4u.co.uk/?p=43</guid>
		<description><![CDATA[If you want to use HTML as description in Zend Forms use : ?View Code PHP$name = new Zend_Form_Element_Text&#40;'fullname'&#41;; $name-&#38;gt;setLabel&#40;'Full name:'&#41;; $name-&#38;gt;setDescription&#40;'&#60;a class=&#34;thickbox&#34; title=&#34;Please choose customer&#34; href=&#34;/customers/indexajax?KeepThis=true&#38;amp;TB_iframe=true&#38;amp;height=600&#38;amp;width=1100&#34;&#62;Find customer&#60;/a&#62;'&#41;;]]></description>
			<content:encoded><![CDATA[<p>If you want to use HTML as description in Zend Forms use :</p>

<div class="wp_codebox_msgheader wp_codebox_hide"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p43code2'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p432"><td class="code" id="p43code2"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Zend_Form_Element_Text<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'fullname'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$name</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setLabel<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Full name:'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$name</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>setDescription<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'&lt;a class=&quot;thickbox&quot; title=&quot;Please choose customer&quot; href=&quot;/customers/indexajax?KeepThis=true&amp;amp;TB_iframe=true&amp;amp;height=600&amp;amp;width=1100&quot;&gt;Find customer&lt;/a&gt;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://php4u.co.uk/2009/03/html-code-in-zend-forms-description/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.614 seconds -->
