<?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>British Rail Class 42 &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/british-rail-class-42/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>Setting Up a Specific Layout for a Zend Action</title>
		<link>/2010/06/05/setting-up-a-specific-layout-for-a-zend-action/</link>
		<comments>/2010/06/05/setting-up-a-specific-layout-for-a-zend-action/#respond</comments>
		<pubDate>Sat, 05 Jun 2010 12:13:33 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[British Rail Class 42]]></category>
		<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Parashah]]></category>
		<category><![CDATA[Technology/Internet]]></category>

		<guid isPermaLink="false">/?p=1590</guid>
		<description><![CDATA[Now that&#8217;s really simple! In your action method simply add this line: $this->view->layout()->setLayout('embed'); Thus the code will look like so:<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/04/21/zend-framework-disable-zend-layout/" rel="bookmark" title="Zend Framework &#8211; Disable Zend Layout">Zend Framework &#8211; Disable Zend Layout </a></li>
<li><a href="/2010/06/07/bind-zend-action-with-non-default-view/" rel="bookmark" title="Bind Zend Action with Non-Default View">Bind Zend Action with Non-Default View </a></li>
<li><a href="/2010/06/24/zend-framework-inject-javascript-code-in-a-actionview/" rel="bookmark" title="Zend Framework: Inject JavaScript Code in a Action/View">Zend Framework: Inject JavaScript Code in a Action/View </a></li>
<li><a href="/2010/06/23/bind-zend-action-with-non-default-view-part-2/" rel="bookmark" title="Bind Zend Action with Non-Default View &#8211; Part 2">Bind Zend Action with Non-Default View &#8211; Part 2 </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Now that&#8217;s really simple! In your action method simply add this line:</p>
<pre lang="php">
$this->view->layout()->setLayout('embed');
</pre>
<p>Thus the code will look like so:</p>
<pre lang="php">
<?php

class IndexController extends Zend_Controller_Action
{
	public function indexAction()
	{
		$this->view->layout()->setLayout('embed');
		// ...	
	}	
}
</pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/04/21/zend-framework-disable-zend-layout/" rel="bookmark" title="Zend Framework &#8211; Disable Zend Layout">Zend Framework &#8211; Disable Zend Layout </a></li>
<li><a href="/2010/06/07/bind-zend-action-with-non-default-view/" rel="bookmark" title="Bind Zend Action with Non-Default View">Bind Zend Action with Non-Default View </a></li>
<li><a href="/2010/06/24/zend-framework-inject-javascript-code-in-a-actionview/" rel="bookmark" title="Zend Framework: Inject JavaScript Code in a Action/View">Zend Framework: Inject JavaScript Code in a Action/View </a></li>
<li><a href="/2010/06/23/bind-zend-action-with-non-default-view-part-2/" rel="bookmark" title="Bind Zend Action with Non-Default View &#8211; Part 2">Bind Zend Action with Non-Default View &#8211; Part 2 </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/06/05/setting-up-a-specific-layout-for-a-zend-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
