<?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>disable layout &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/disable-layout/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Zend Framework &#8211; Disable Zend Layout</title>
		<link>/2009/04/21/zend-framework-disable-zend-layout/</link>
		<comments>/2009/04/21/zend-framework-disable-zend-layout/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 05:50:41 +0000</pubDate>
		<dc:creator><![CDATA[stoimen]]></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[disable layout]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[zend_layout]]></category>

		<guid isPermaLink="false">/?p=536</guid>
		<description><![CDATA[Zend Framework - Disable Zend Layout<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2010/04/27/accessing-the-layout-in-zend-framework/" rel="bookmark" title="Accessing the layout() in Zend Framework">Accessing the layout() in Zend Framework </a></li>
<li><a href="/2009/06/19/zend-framework-quick-tutorial-part-3-front-controller-plugins/" rel="bookmark" title="Zend Framework &#8211; quick tutorial (part 3) &#8211; front controller plugins">Zend Framework &#8211; quick tutorial (part 3) &#8211; front controller plugins </a></li>
<li><a href="/2009/11/27/redirecting-with-zend-framework/" rel="bookmark" title="Redirecting with Zend Framework">Redirecting with Zend Framework </a></li>
<li><a href="/2010/07/07/default-error-handling-in-zend-framework/" rel="bookmark" title="Default Error Handling in Zend Framework">Default Error Handling in Zend Framework </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>What&#8217;s Zend Layout</h2>
<p>Everybody knows that sometimes you need header and footer for almost every page. In Zend Framework you don&#8217;t need to include them in every template page, as it will be if you were using Smarty for instance. You just need to use Zend_Layout. It&#8217;s easy and it&#8217;s helpful.</p>
<h2>What if you don&#8217;t need layout for a controller action?</h2>
<p>Well if you have to have a given controller action with no use of Zend_Layout, you just need to disable it.</p>
<h2>How &#8230;</h2>
<p>&#8230; simply by placing this line in you controller action:</p>
<blockquote><p>$this-&gt;_helper-&gt;layout-&gt;disableLayout();</p></blockquote>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2010/04/27/accessing-the-layout-in-zend-framework/" rel="bookmark" title="Accessing the layout() in Zend Framework">Accessing the layout() in Zend Framework </a></li>
<li><a href="/2009/06/19/zend-framework-quick-tutorial-part-3-front-controller-plugins/" rel="bookmark" title="Zend Framework &#8211; quick tutorial (part 3) &#8211; front controller plugins">Zend Framework &#8211; quick tutorial (part 3) &#8211; front controller plugins </a></li>
<li><a href="/2009/11/27/redirecting-with-zend-framework/" rel="bookmark" title="Redirecting with Zend Framework">Redirecting with Zend Framework </a></li>
<li><a href="/2010/07/07/default-error-handling-in-zend-framework/" rel="bookmark" title="Default Error Handling in Zend Framework">Default Error Handling in Zend Framework </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/04/21/zend-framework-disable-zend-layout/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
