<?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>Chris Tate-Davies &#187; bootstrap</title>
	<atom:link href="http://www.christatedavies.co.uk/tag/bootstrap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christatedavies.co.uk</link>
	<description>An archive of helpful tit bits of information for development, and probably some stuff that is incomplete, wrong or boring...</description>
	<lastBuildDate>Tue, 31 Jan 2012 11:18:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Accessing the Zend_Application from a page</title>
		<link>http://www.christatedavies.co.uk/2010/07/27/accessing-the-zend_application-from-a-page/</link>
		<comments>http://www.christatedavies.co.uk/2010/07/27/accessing-the-zend_application-from-a-page/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 12:06:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[bootstrap]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://www.christatedavies.co.uk/?p=95</guid>
		<description><![CDATA[If, like me, you need to access some Zend_Application resources (such as multidb resources) &#8211; then you need a reference to the Zend_Application and the bootstrap. I use this: if (null == $this-&#62;_application) { $this-&#62;_application = Zend_Controller_Front::getInstance() -&#62;getParam('bootstrap'); }<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.christatedavies.co.uk/2010/07/27/accessing-the-zend_application-from-a-page/' addthis:title='Accessing the Zend_Application from a page ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>If, like me, you need to access some Zend_Application resources (such as multidb resources) &#8211; then you need a reference to the Zend_Application and the bootstrap. I use this:</p>
<pre>if (null == $this-&gt;_application)
{
    $this-&gt;_application = Zend_Controller_Front::getInstance()
         -&gt;getParam('bootstrap');
}</pre>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.christatedavies.co.uk/2010/07/27/accessing-the-zend_application-from-a-page/' addthis:title='Accessing the Zend_Application from a page ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.christatedavies.co.uk/2010/07/27/accessing-the-zend_application-from-a-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

