<?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; Symfony</title>
	<atom:link href="http://php4u.co.uk/tag/symfony/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>Session time out in Symfony</title>
		<link>http://php4u.co.uk/2009/04/session-time-out-in-symfony/</link>
		<comments>http://php4u.co.uk/2009/04/session-time-out-in-symfony/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 09:56:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[sessions]]></category>
		<category><![CDATA[timeout]]></category>

		<guid isPermaLink="false">http://php4u.co.uk/?p=81</guid>
		<description><![CDATA[Quick solution in symfony 1.0.xx all: .settings: timeout: 86400 Just be careful because if you set to false it will disable sessions]]></description>
			<content:encoded><![CDATA[<p>Quick solution in symfony 1.0.xx</p>
<p><code><br />
all:<br />
.settings:<br />
timeout: 86400<br />
</code></p>
<p>Just be careful because if you set to <code>false</code> it will disable sessions</p>
]]></content:encoded>
			<wfw:commentRss>http://php4u.co.uk/2009/04/session-time-out-in-symfony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony &#8211; Sorting elements in filters (foreign table)</title>
		<link>http://php4u.co.uk/2009/04/symfony-sorting-elements-in-filters-foreign-table/</link>
		<comments>http://php4u.co.uk/2009/04/symfony-sorting-elements-in-filters-foreign-table/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 10:55:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[propel]]></category>
		<category><![CDATA[sorting]]></category>

		<guid isPermaLink="false">http://php4u.co.uk/?p=78</guid>
		<description><![CDATA[Today i found nice and simple solution how to filter elements in dropdown when you specify filter for field which is forgeign key. Simple go and edit Peer class of table you want to have things sorted. ?View Code PHPclass &#91;YOURTABLE&#93;Peer extends Base&#91;YOURTABLE&#93;Peer &#123; public static function addSelectColumns&#40;Criteria $criteria&#41; &#123; parent::addSelectColumns&#40;$criteria&#41;; $criteria-&#38;gt;addAscendingOrderByColumn&#40;self::&#91;FIELD YOU WANT TO [...]]]></description>
			<content:encoded><![CDATA[<p>Today i found nice and simple solution how to filter elements in dropdown when you specify filter for field which is forgeign key.</p>
<p>Simple go and edit Peer class of table you want to have things sorted.</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('p78code2'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p782"><td class="code" id="p78code2"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> <span style="color: #009900;">&#91;</span>YOURTABLE<span style="color: #009900;">&#93;</span>Peer <span style="color: #000000; font-weight: bold;">extends</span> Base<span style="color: #009900;">&#91;</span>YOURTABLE<span style="color: #009900;">&#93;</span>Peer
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> static <span style="color: #000000; font-weight: bold;">function</span> addSelectColumns<span style="color: #009900;">&#40;</span>Criteria <span style="color: #000088;">$criteria</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    parent<span style="color: #339933;">::</span><span style="color: #004000;">addSelectColumns</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$criteria</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$criteria</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>addAscendingOrderByColumn<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #009900;">&#91;</span>FIELD YOU WANT TO <a href="http://www.php.net/sort"><span style="color: #990000;">SORT</span></a> BY<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://php4u.co.uk/2009/04/symfony-sorting-elements-in-filters-foreign-table/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Logging page rendering time in Symfony 1.xx</title>
		<link>http://php4u.co.uk/2009/03/logging-page-rendering-time-in-symfony-1xx/</link>
		<comments>http://php4u.co.uk/2009/03/logging-page-rendering-time-in-symfony-1xx/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 13:07:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[optimisation]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://php4u.co.uk/?p=72</guid>
		<description><![CDATA[Change your SF_APP/web/index.php file to be: ?View Code PHP$timer = sfTimerManager::getTimer&#40;'myTimer'&#41;; sfContext::getInstance&#40;&#41;-&#38;gt;getController&#40;&#41;-&#38;gt;dispatch&#40;&#41;; $timer-&#38;gt;addTime&#40;&#41;; $elapsedTime = $timer-&#38;gt;getElapsedTime&#40;&#41;; $fullRealUri = str_replace&#40; sfContext::getInstance&#40;&#41;-&#38;gt;getRequest&#40;&#41;-&#38;gt;getUriPrefix&#40;&#41;, &#34;&#34;, sfContext::getInstance&#40;&#41;-&#38;gt;getRequest&#40;&#41;-&#38;gt;getUri&#40;&#41;&#41;; file_put_contents&#40;'/tmp/time.log',date&#40;'Y-m-d H:i:s'&#41;.&#34;&#124;$fullRealUri&#124;$elapsedTime\n\r&#34;,FILE_APPEND&#41;;]]></description>
			<content:encoded><![CDATA[<p>Change your SF_APP/web/index.php file to be:</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('p72code4'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p724"><td class="code" id="p72code4"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$timer</span> <span style="color: #339933;">=</span> sfTimerManager<span style="color: #339933;">::</span><span style="color: #004000;">getTimer</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'myTimer'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
sfContext<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getController<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>dispatch<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$timer</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>addTime<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$elapsedTime</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$timer</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getElapsedTime<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$fullRealUri</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span> sfContext<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getUriPrefix<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> sfContext<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getRequest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getUri<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<a href="http://www.php.net/file_put_contents"><span style="color: #990000;">file_put_contents</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/tmp/time.log'</span><span style="color: #339933;">,</span><a href="http://www.php.net/date"><span style="color: #990000;">date</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Y-m-d H:i:s'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;|<span style="color: #006699; font-weight: bold;">$fullRealUri</span>|<span style="color: #006699; font-weight: bold;">$elapsedTime</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\r</span>&quot;</span><span style="color: #339933;">,</span>FILE_APPEND<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/logging-page-rendering-time-in-symfony-1xx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony admin generator problem</title>
		<link>http://php4u.co.uk/2009/03/symfony-admin-generator-problem/</link>
		<comments>http://php4u.co.uk/2009/03/symfony-admin-generator-problem/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 15:29:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[500 internal error]]></category>
		<category><![CDATA[cache]]></category>

		<guid isPermaLink="false">http://php4u.co.uk/?p=69</guid>
		<description><![CDATA[When you change your schema.yml file, especially removing column which you used before for sorting you can have face problem with 500 internal server error. Why? If you look closer into cache directory with auto-generated files you can see: ?View Code PHPprotected function addSortCriteria&#40;$c&#41; &#123; if &#40;$sort_column = $this-&#38;gt;getUser&#40;&#41;-&#38;gt;getAttribute&#40;'sort', null, 'sf_admin/tag_elements/sort'&#41;&#41; &#123; $sort_column = TagElementsPeer::translateFieldName&#40;$sort_column, [...]]]></description>
			<content:encoded><![CDATA[<p>When you change your <strong>schema.yml</strong> file, especially removing column which you used before for sorting you can have face problem with 500 internal server error. Why?</p>
<p>If you look closer into cache directory with auto-generated files<br />
you can see:</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('p69code6'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p696"><td class="code" id="p69code6"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000000; font-weight: bold;">function</span> addSortCriteria<span style="color: #009900;">&#40;</span><span style="color: #000088;">$c</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$sort_column</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getUser<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getAttribute<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sort'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'sf_admin/tag_elements/sort'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #000088;">$sort_column</span> <span style="color: #339933;">=</span> TagElementsPeer<span style="color: #339933;">::</span><span style="color: #004000;">translateFieldName</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sort_column</span><span style="color: #339933;">,</span> BasePeer<span style="color: #339933;">::</span><span style="color: #004000;">TYPE_FIELDNAME</span><span style="color: #339933;">,</span> BasePeer<span style="color: #339933;">::</span><span style="color: #004000;">TYPE_COLNAME</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>So the sort element comes from <strong>SESSION</strong>! Even when you clear cache (<em>symfony cc</em>), session stays same.</p>
<p>Whenever you do changes, clear browser cache!</p>
<p>Affects Symfony 1.0.17</p>
]]></content:encoded>
			<wfw:commentRss>http://php4u.co.uk/2009/03/symfony-admin-generator-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sfMemcachePlugin limitations</title>
		<link>http://php4u.co.uk/2009/03/sfmemcacheplugin-limitations/</link>
		<comments>http://php4u.co.uk/2009/03/sfmemcacheplugin-limitations/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 09:57:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[memcache]]></category>
		<category><![CDATA[memory limits]]></category>

		<guid isPermaLink="false">http://php4u.co.uk/?p=36</guid>
		<description><![CDATA[I&#8217;m using quite hapilly sfMemcachePlugin, but recently i needed to store object which was around 2Mb, and problems started. I&#8217;ve spend couple minutes trying to figure out why app is not working, finally i Found that memcache doesn&#8217;t store stuff more than 1Mb. To solve that, I&#8217;ve decided to compress data and then store it, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m using quite hapilly <a title="sfMemcachePlugin" href="http://www.symfony-project.org/plugins/sfMemcachePlugin?format=txt" target="_blank">sfMemcachePlugin</a>, but recently i needed to store object which was around <strong>2Mb</strong>, and problems started. I&#8217;ve spend couple minutes trying to figure out why app is not working, finally i Found that memcache doesn&#8217;t store stuff more than <strong>1Mb</strong>.  To solve that, I&#8217;ve decided to compress data and then store it, but if data is still over limit i&#8217;m switching to sessions anyway.</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('p36code8'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p368"><td class="code" id="p36code8"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><a href="http://www.php.net/extension_loaded"><span style="color: #990000;">extension_loaded</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'zlib'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
<span style="color: #666666; font-style: italic;">// there is 1024Kb limitation on memcache, so we need to compress</span>
<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_storing_method <span style="color: #339933;">=</span> <span style="color: #0000ff;">'sessions'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> someFunctionToStoreData<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_storing_method<span style="color: #339933;">==</span><span style="color: #0000ff;">'sessions'</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			sfContext<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getUser</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'variableId'</span><span style="color: #339933;">,</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_varToStore<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #666666; font-style: italic;">// compress</span>
                        <span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/gzcompress"><span style="color: #990000;">gzcompress</span></a><span style="color: #009900;">&#40;</span><a href="http://www.php.net/serialize"><span style="color: #990000;">serialize</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_varToStore<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">9</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #666666; font-style: italic;">// compute data size</span>
                        <span style="color: #000088;">$data_size</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/strlen"><span style="color: #990000;">strlen</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">1024</span><span style="color: #339933;">/</span><span style="color: #cc66cc;">1024</span><span style="color: #339933;">;</span>
                        <span style="color: #666666; font-style: italic;">// log it in symfony</span>
			sfContext<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getLogger</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">info</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Data size for memcache to store is '</span><span style="color: #339933;">.</span><span style="color: #000088;">$data_size</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot; Mb&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                        <span style="color: #666666; font-style: italic;">// check data size - 0.9Mb - just in case to not go over 1Mb</span>
			<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$data_size</span><span style="color: #339933;">&gt;</span><span style="color:#800080;">0.9</span><span style="color: #009900;">&#41;</span>
			<span style="color: #009900;">&#123;</span>
				<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_storing_method<span style="color: #339933;">=</span><span style="color: #0000ff;">'sessions'</span><span style="color: #339933;">;</span>
				<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">someFunctionToStoreData</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			<span style="color: #009900;">&#125;</span>
			sfMemcacheFunctionCache<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'variableId'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'OurNameSpace'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$data</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
		sfContext<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getLogger</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">info</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Setting search ordering variable for country '</span><span style="color: #339933;">.</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span>_locationId<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://php4u.co.uk/2009/03/sfmemcacheplugin-limitations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

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