<?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>Well, at least we got the duck. &#187; Categorized</title>
	<atom:link href="http://ingol.nl/blog/category/categorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://ingol.nl/blog</link>
	<description></description>
	<lastBuildDate>Wed, 14 Jul 2010 23:01:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>More (unannounced) League of Legends Skins in v10096</title>
		<link>http://ingol.nl/blog/2010/07/15/more-unannounced-league-of-legends-skins-in-v10094/</link>
		<comments>http://ingol.nl/blog/2010/07/15/more-unannounced-league-of-legends-skins-in-v10094/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 23:00:32 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=507</guid>
		<description><![CDATA[




]]></description>
			<content:encoded><![CDATA[<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/tDUMc57xG9G9xFQiYFTFkQ?feat=embedwebsite"><img src="http://lh4.ggpht.com/_k1lmMufch6s/TD5AZXS8_1I/AAAAAAAAGP0/0L_owVP6-Os/s400/lol_skins_v10094.jpg" /></a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/07/15/more-unannounced-league-of-legends-skins-in-v10094/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mental Note: Zend_Date compare method is slow?</title>
		<link>http://ingol.nl/blog/2010/07/13/mental-note-zend_date-compare-method-is-slow/</link>
		<comments>http://ingol.nl/blog/2010/07/13/mental-note-zend_date-compare-method-is-slow/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 13:18:00 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=503</guid>
		<description><![CDATA[Can someone explain why the standard Zend_Date comparison slowed the performance of an application of mine by a significant amount.
It was checking a date to be within a specific timespan for like 90 times.

$date = new Zend_Date();
if ($date-&#62;compare($otherDate) &#62;= 0) {
...

// Now fetching the timestamps to compare those against each other.
// For example:
if ($date-&#62;getTimestamp() &#62;= [...]]]></description>
			<content:encoded><![CDATA[<p>Can someone explain why the standard Zend_Date comparison slowed the performance of an application of mine by a significant amount.<br />
It was checking a date to be within a specific timespan for like 90 times.</p>
<pre class="brush: php;">
$date = new Zend_Date();
if ($date-&gt;compare($otherDate) &gt;= 0) {
...

// Now fetching the timestamps to compare those against each other.
// For example:
if ($date-&gt;getTimestamp() &gt;= $otherdate.getTimestamp()) {
...
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/07/13/mental-note-zend_date-compare-method-is-slow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advanced Date Pick Restriction with the jQuery UI Datepicker</title>
		<link>http://ingol.nl/blog/2010/06/22/advanced-date-pick-restriction-with-the-jquery-ui-datepicker/</link>
		<comments>http://ingol.nl/blog/2010/06/22/advanced-date-pick-restriction-with-the-jquery-ui-datepicker/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 11:33:39 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=493</guid>
		<description><![CDATA[You can implement the &#8220;beforeShowDay&#8221; method to restrict the days which can be selected from the datepicker. 
As noted in the sourcecode:

beforeShowDay: null, // Function that takes a date and returns an array with
			// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or &#8221;,
			// [2] = cell title (optional), [...]]]></description>
			<content:encoded><![CDATA[<p>You can implement the &#8220;beforeShowDay&#8221; method to restrict the days which can be selected from the datepicker. </p>
<p>As noted in the <a href="http://github.com/jquery/jquery-ui/raw/master/ui/jquery.ui.datepicker.js" target="_blank">sourcecode</a>:</p>
<blockquote><p>
beforeShowDay: null, // Function that takes a date and returns an array with<br />
			// [0] = true if selectable, false if not, [1] = custom CSS class name(s) or &#8221;,<br />
			// [2] = cell title (optional), e.g. $.datepicker.noWeekends
</p></blockquote>
<p>An example (you can also run this code at <a target="_blank" href="http://jsfiddle.net/KpFTa/">jsfiddle</a>):</p>
<pre class="brush: jscript;">[/sourcecode]
$(function(){
    $('#picker').datepicker({
        beforeShowDay: function(date) {
            var t = new Date();
            t = new Date(t.getFullYear(), t.getMonth(), t.getDate());

            var days = [];
            for (var i=0;i&lt;7;i++) {
                t.setDate(t.getDate() + 1);
                days.push(t.getTime());
            }

            var day = date.getTime();
            return [$.inArray(day,days) &gt; -1,''];
        },
        onSelect: function(dateText, inst) {
            $(&quot;#pickerresult&quot;).html($(this).datepicker( &quot;getDate&quot;).toString());
        }
    });
});
[sourcecode]</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/06/22/advanced-date-pick-restriction-with-the-jquery-ui-datepicker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guild Wars 2 : Warrior Skill Gameplay (GameTrailers)</title>
		<link>http://ingol.nl/blog/2010/06/16/guild-wars-2-warrior-skill-gameplay-gametrailers/</link>
		<comments>http://ingol.nl/blog/2010/06/16/guild-wars-2-warrior-skill-gameplay-gametrailers/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 08:27:36 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=478</guid>
		<description><![CDATA[Awesome!!!


]]></description>
			<content:encoded><![CDATA[<p>Awesome!!!</p>
<div style="width: 480px;"><object id="gtembed" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="392" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="quality" value="high" /><param name="src" value="http://www.gametrailers.com/remote_wrap.php?mid=101099" /><param name="name" value="gtembed" /><param name="align" value="middle" /><param name="allowfullscreen" value="true" /><embed id="gtembed" type="application/x-shockwave-flash" width="480" height="392" src="http://www.gametrailers.com/remote_wrap.php?mid=101099" align="middle" name="gtembed" quality="high" allowfullscreen="true" allowscriptaccess="sameDomain"></embed></object>
</div>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/06/16/guild-wars-2-warrior-skill-gameplay-gametrailers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend OAuth + Hyves &#8230; ERROR</title>
		<link>http://ingol.nl/blog/2010/06/15/it-seems-that-zend-oauth-doesnt-work-with-hyves/</link>
		<comments>http://ingol.nl/blog/2010/06/15/it-seems-that-zend-oauth-doesnt-work-with-hyves/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 14:34:20 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=469</guid>
		<description><![CDATA[Although Zend OAuth works with all the other social networks, it doesn&#8217;t play very well with the dutch social network called Hyves. As a work-around the library from Mark Bekkers can be used: Open &#38; Sociaal Hyves PHP Library
]]></description>
			<content:encoded><![CDATA[<p>Although <a href="http://framework.zend.com/manual/en/zend.oauth.html">Zend OAuth</a> works with all the other social networks, it doesn&#8217;t play very well with the dutch social network called Hyves. As a work-around the library from Mark Bekkers can be used: <a href="http://hyves.doyourthing.nl/">Open &amp; Sociaal Hyves PHP Library</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/06/15/it-seems-that-zend-oauth-doesnt-work-with-hyves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LoL-Base Signature</title>
		<link>http://ingol.nl/blog/2010/06/09/lol-base-signature/</link>
		<comments>http://ingol.nl/blog/2010/06/09/lol-base-signature/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 23:53:28 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=461</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lolbase.net/EU/RebootGPF"><img src="http://www.lolbase.net/EU/RebootGPF/signature/455daa520.png" alt="Signature for RebootGPF (EU)" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/06/09/lol-base-signature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RIOT EU Server Migration: Work Complete!</title>
		<link>http://ingol.nl/blog/2010/05/26/riot-eu-server-migration-work-complete/</link>
		<comments>http://ingol.nl/blog/2010/05/26/riot-eu-server-migration-work-complete/#comments</comments>
		<pubDate>Tue, 25 May 2010 23:41:27 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=453</guid>
		<description><![CDATA[OMG, I got STATS!!!!





From Blog


]]></description>
			<content:encoded><![CDATA[<p>OMG, I got STATS!!!!</p>
<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/aICQCvEVsIlih2qaFp1lzQ?feat=embedwebsite"><img src="http://lh4.ggpht.com/_k1lmMufch6s/S_xe0oFZtUI/AAAAAAAAFj8/CSwAhrpgEgc/s400/EU-070%20126-137%20%28stats%29.jpg" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/orlissenberg/Blog?feat=embedwebsite">Blog</a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/05/26/riot-eu-server-migration-work-complete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RIOT: Your content is way TOO cool, will buy at any price O_o. &#8220;Jedi Master Yi&#8221; released.</title>
		<link>http://ingol.nl/blog/2010/05/25/riot-your-content-is-way-too-cool-will-buy-at-any-price-o_o-jedi-master-yi-released/</link>
		<comments>http://ingol.nl/blog/2010/05/25/riot-your-content-is-way-too-cool-will-buy-at-any-price-o_o-jedi-master-yi-released/#comments</comments>
		<pubDate>Tue, 25 May 2010 10:56:13 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=451</guid>
		<description><![CDATA[




From Blog


]]></description>
			<content:encoded><![CDATA[<table style="width:auto;">
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/TJKqtN4zAT8DicQ1VCkAtw?feat=embedwebsite"><img src="http://lh6.ggpht.com/_k1lmMufch6s/S_urnDOmlEI/AAAAAAAAFjo/g2iHePEOEx0/s800/jedi_master_yi.jpg" /></a></td>
</tr>
<tr>
<td style="font-family:arial,sans-serif; font-size:11px; text-align:right">From <a href="http://picasaweb.google.com/orlissenberg/Blog?feat=embedwebsite">Blog</a></td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/05/25/riot-your-content-is-way-too-cool-will-buy-at-any-price-o_o-jedi-master-yi-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customer Support of GOA: Double IP Boost, Unable to play due to server issues last night.</title>
		<link>http://ingol.nl/blog/2010/05/18/customer-support-of-goa-double-ip-boost-unable-to-play-due-to-server-issues-last-night/</link>
		<comments>http://ingol.nl/blog/2010/05/18/customer-support-of-goa-double-ip-boost-unable-to-play-due-to-server-issues-last-night/#comments</comments>
		<pubDate>Tue, 18 May 2010 07:33:45 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=427</guid>
		<description><![CDATA[&#62; Customer 17/05/2010 08.59 AM
&#62; Hi,
&#62;
&#62; I&#8217;ve bought a double IP boost for three days but was unable to play for the
&#62; most of last night because there apparently were server issues.
&#62; All my friends also gave up after several retries to log in and to join the
&#62; queue, very disappointing performance last night :(
&#62;
&#62; [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>&gt; Customer 17/05/2010 08.59 AM<br />
&gt; Hi,<br />
&gt;<br />
&gt; I&#8217;ve bought a double IP boost for three days but was unable to play for the<br />
&gt; most of last night because there apparently were server issues.<br />
&gt; All my friends also gave up after several retries to log in and to join the<br />
&gt; queue, very disappointing performance last night :(<br />
&gt;<br />
&gt; Can you maybe extend my IP boost with a day or something?<br />
&gt;<br />
&gt;<br />
&gt; Best Regards,<br />
&gt; Onno</p></blockquote>
<hr />
<blockquote><p>&gt; Response (GOA.COM) &#8211; 17/05/2010 02.53 PM<br />
&gt; Dear Customer,<br />
&gt;<br />
&gt; While it is unfortunate that you were unable to get the full affect of your<br />
&gt; boost, we will not be offering compensation for the server maintenance.<br />
&gt; We are sorry for any inconvenience caused.<br />
&gt;<br />
&gt; Kind Regards,<br />
&gt;<br />
&gt; GOA Customer Support Team</p></blockquote>
<hr />
<blockquote><p>Hi,</p>
<p>I&#8217;m very disappointed about this response, I don&#8217;t believe this event<br />
should be categorized as server maintenance, there was no notification<br />
whatsoever and the service simply failed. Thus if a paid time-based service<br />
is provided and cannot be delivered, compensate it. We&#8217;re talking about a<br />
really small amount here. As a paying customer, yes I was silly enough<br />
to buy the game twice for an amount of 50 euros each (because I was unable<br />
to migrate my US account), I was hoping for a little bit of customer<br />
service.</p>
<p>Thus I&#8217;m extremely disappointed with this response, yet even more because<br />
the EU server hasn&#8217;t been the brightest star in the sky up until now, still<br />
hoping for that end-game-stats screen :)</p>
<p>Would be nice to enjoy an uninterrupted day of double IP and get the &#8220;warm&#8221;<br />
treatment from the EU side of LoL.</p>
<p>Kind Regards,<br />
Onno</p></blockquote>
<hr />
<p>As expected, they don&#8217;t mind that a customer paid credits for a service not (fully) rendered:</p>
<blockquote><p>Dear Customer,</p>
<p>Thank you for contacting us in relation to your query.<br />
As you have been told, we are not offering compensation for this.<br />
We sincerely apologise for any inconvenience caused by this.</p>
<p>Kind Regards,<br />
GOA Customer Support</p></blockquote>
<hr />
<p>I CC&#8217;ed Riot Support too ..</p>
<blockquote><p>Hello,</p>
<p>I definitely understand where you&#8217;re coming from, but unfortunately, I can&#8217;t help you. We don&#8217;t administrate the EU servers at this time, which makes it impossible for me to add/remove/change anything on your account. I&#8217;m very sorry for the inconvenience. Please let me know if you have any questions about a US account, and I would be happy to help.</p>
<p>Thanks,<br />
Steven<br />
RIOT Games Support</p></blockquote>
<hr />
<blockquote><p>Lolz, was actually hoping for a day of double IP on my US account instead cause it seems that GOA will probably let me down yet again :D</p>
<p>Thanks for the great response anyway!!!</p>
<p>Kind Regards,<br />
Onno</p></blockquote>
<hr />
<p>More context:</p>
<p>As some might know I&#8217;ve been playing League of Legends quite extensively over the last couple of months. First at the US server but when some of my friends bought the game via Steam I discovered there was also an European server. Unfortunately account migration was not possible (booo booo) so I also bought it yet again. Now the US server being fantastic, except for maintenance hours being in the morning of the PST region, the EU server was a complete Epic Fail most of the time. I&#8217;ve never seen the end game statistics on the EU server, had an enormous amount of disconnects and a lot of crashes (also had to endure them longer because patches are released later), not to mention the never working chat and empty friends list. But this will hopefully come to an end soon when RIOT takes over from GOA.</p>
<p><a href="http://www.lol-europe.com/board/showthread.php?t=36401">Riot Games to Publish League of Legends in Europe</a></p>
<p><a href="http://www.lol-europe.com/board/showthread.php?t=37116">Riot Games in Europe: Details &amp; FAQ</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/05/18/customer-support-of-goa-double-ip-boost-unable-to-play-due-to-server-issues-last-night/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TestCase BaseClass for Zend Framework</title>
		<link>http://ingol.nl/blog/2010/05/04/testcase-baseclass-for-zend-framework/</link>
		<comments>http://ingol.nl/blog/2010/05/04/testcase-baseclass-for-zend-framework/#comments</comments>
		<pubDate>Tue, 04 May 2010 11:16:37 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=419</guid>
		<description><![CDATA[Just sharing some code here. If you&#8217;re planning to use the phpunit.xml then you would probably put all the setup logic in the bootstrap. I did a post before about setting up phpunit for Zend Server. Actually I configured the unit tests to run with the Zend Server executable in Zend Studio because it has [...]]]></description>
			<content:encoded><![CDATA[<p>Just sharing some code here. If you&#8217;re planning to use the phpunit.xml then you would probably put all the setup logic in the bootstrap. I did a post before about setting up phpunit for Zend Server. Actually I configured the unit tests to run with the Zend Server executable in Zend Studio because it has a larger amount of extensions (Oracle connectivity to start with).</p>
<pre class="brush: php;">
class TestCaseBase extends PHPUnit_Framework_TestCase
{
	/**
	 *	@var Zend_Application
	 */
	public $app;

	public function setUp()
    {
    	if (!defined('APPLICATION_PATH')){
    		define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../../application'));
    	}

    	set_include_path(implode(PATH_SEPARATOR, array(
    		realpath(APPLICATION_PATH . '/../library'),
    		get_include_path(),
			)
		));

		/** Zend_Application */
		require_once APPLICATION_PATH . '/../library/Zend/Application.php';

        $this-&gt;app = new Zend_Application('unittest',
        	realpath(APPLICATION_PATH . '/../tests/application/configs/application.ini'));

        $this-&gt;app-&gt;setBootstrap(realpath(APPLICATION_PATH . '/../tests/application/bootstrap.php'));
        $this-&gt;app-&gt;bootstrap();

        $bs = $this-&gt;app-&gt;getBootstrap();
    	/* @var $front Zend_Controller_Front */
    	$front = $bs-&gt;getResource(&quot;FrontController&quot;);
    	$front-&gt;addModuleDirectory(realpath(APPLICATION_PATH . '/modules'));

    	$bs-&gt;registerPluginResource(&quot;modules&quot;);
    	$bs-&gt;bootstrap(&quot;modules&quot;);
    }

    public function tearDown()
    {
        /* Tear Down Routine */
    }

    public function log($message, $label = null)
    {
    	if (null != $label) {
    		echo $label . ': ' . $message . &quot;\n&quot;;
    	} else {
    		echo $message . &quot;\n&quot;;
    	}
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/05/04/testcase-baseclass-for-zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert into Values in Zend_Config_Ini ?!?!?</title>
		<link>http://ingol.nl/blog/2010/05/03/convert-into-values-in-zend_config_ini/</link>
		<comments>http://ingol.nl/blog/2010/05/03/convert-into-values-in-zend_config_ini/#comments</comments>
		<pubDate>Mon, 03 May 2010 13:33:47 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=414</guid>
		<description><![CDATA[Anyone know why the
&#8220;convert the current values in $config into an array&#8221;
 exists in Zend_Config_Ini (ZF 1.10.4)?

/**
     * Assign the key's value to the property list. Handles the
     * nest separator for sub-properties.
     *
     * @param  array  [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone know why the<br />
<blockquote>&#8220;convert the current values in $config into an array&#8221;</p></blockquote>
<p> exists in Zend_Config_Ini (ZF 1.10.4)?</p>
<pre class="brush: php;">
/**
     * Assign the key's value to the property list. Handles the
     * nest separator for sub-properties.
     *
     * @param  array  $config
     * @param  string $key
     * @param  string $value
     * @throws Zend_Config_Exception
     * @return array
     */
    protected function _processKey($config, $key, $value)
    {
    	/*
		var_dump($config);
		var_dump($key);
		var_dump($value);
		echo '--';
		*/    	

        if (strpos($key, $this-&gt;_nestSeparator) !== false) {
            $pieces = explode($this-&gt;_nestSeparator, $key, 2);
            if (strlen($pieces[0]) &amp;&amp; strlen($pieces[1])) {
                if (!isset($config[$pieces[0]])) {
                    if ($pieces[0] === '0' &amp;&amp; !empty($config)) {
                        // convert the current values in $config into an array

                        /* Example ini section.
                        	[initest]
							thats.nice = 'then'
							thats.0.converted = 'ok'
                         */
                    	echo 'converted, but why';

                    	$config = array($pieces[0] =&gt; $config);
                    } else {
                        $config[$pieces[0]] = array();
                    }
                } elseif (!is_array($config[$pieces[0]])) {
                    /**
                     * @see Zend_Config_Exception
                     */
                    require_once 'Zend/Config/Exception.php';
                    throw new Zend_Config_Exception(&quot;Cannot create sub-key for '{$pieces[0]}' as key already exists&quot;);
                }
                $config[$pieces[0]] = $this-&gt;_processKey($config[$pieces[0]], $pieces[1], $value);
            } else {
                /**
                 * @see Zend_Config_Exception
                 */
                require_once 'Zend/Config/Exception.php';
                throw new Zend_Config_Exception(&quot;Invalid key '$key'&quot;);
            }
        } else {
            $config[$key] = $value;
        }

        // dump the result
        var_dump($config);

        return $config;
    }
</pre>
<p>the result is:</p>
<pre class="brush: plain;">
array(1) {
  [&quot;thats&quot;]=&gt;
  array(1) {
    [0]=&gt;
    array(2) {
      [&quot;nice&quot;]=&gt;
      string(6) &quot;'then'&quot;
      [&quot;converted&quot;]=&gt;
      string(4) &quot;'ok'&quot;
    }
  }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/05/03/convert-into-values-in-zend_config_ini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What a nice Oracle feature: RETURNING INTO Clause</title>
		<link>http://ingol.nl/blog/2010/04/27/what-a-nice-oracle-feature-returning-into-clause/</link>
		<comments>http://ingol.nl/blog/2010/04/27/what-a-nice-oracle-feature-returning-into-clause/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 12:24:27 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=412</guid>
		<description><![CDATA[Is handy to fetch the number of rows affected by an insert, update or delete statement!
RETURNING INTO Clause
]]></description>
			<content:encoded><![CDATA[<p>Is handy to fetch the number of rows affected by an insert, update or delete statement!</p>
<p><a href="http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/returninginto_clause.htm">RETURNING INTO Clause</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/04/27/what-a-nice-oracle-feature-returning-into-clause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phrase of the Day: One-Trick Pony.</title>
		<link>http://ingol.nl/blog/2010/04/27/phrase-of-the-day-one-trick-pony/</link>
		<comments>http://ingol.nl/blog/2010/04/27/phrase-of-the-day-one-trick-pony/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 09:56:18 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=408</guid>
		<description><![CDATA[Wiktionary: &#8220;One-Trick Pony&#8221;
And a colleague of mine likes to wear this priceless t-shirt: More Dots
]]></description>
			<content:encoded><![CDATA[<p>Wiktionary: <a href="http://en.wiktionary.org/wiki/one-trick_pony">&#8220;One-Trick Pony&#8221;</a></p>
<p>And a colleague of mine likes to wear this priceless t-shirt: <a href="http://www.jinx.com/men/shirts/video_games/more_dots.html">More Dots</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/04/27/phrase-of-the-day-one-trick-pony/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PHPUnit to run phpunit.xml for Zend Server 5.3.1</title>
		<link>http://ingol.nl/blog/2010/04/22/installing-phpunit-to-run-phpunit-xml-for-zend-server-5-3-1/</link>
		<comments>http://ingol.nl/blog/2010/04/22/installing-phpunit-to-run-phpunit-xml-for-zend-server-5-3-1/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 09:52:27 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=393</guid>
		<description><![CDATA[1. Install PEAR by running go-pear.bat
if it starts to complain about: &#8220;&#8230; does not have a signature &#8230;&#8221; change the go-pear.bat to the following:

@ECHO OFF
set PHP_BIN=php.exe
%PHP_BIN% -d output_buffering=0 -d phar.require_hash=0 PEAR\go-pear.phar
pause

In windows the last part of the output will be something like:

Would you like to alter php.ini ? [Y/n] :
php.ini  include_path updated.
Current include path [...]]]></description>
			<content:encoded><![CDATA[<p>1. Install PEAR by running go-pear.bat</p>
<p>if it starts to complain about: &#8220;&#8230; does not have a signature &#8230;&#8221; change the go-pear.bat to the following:</p>
<pre class="brush: plain;">
@ECHO OFF
set PHP_BIN=php.exe
%PHP_BIN% -d output_buffering=0 -d phar.require_hash=0 PEAR\go-pear.phar
pause
</pre>
<p>In windows the last part of the output will be something like:</p>
<blockquote><p>
Would you like to alter php.ini <D:\Zend Server 5.3.1\ZendServer\etc\php.ini>? [Y/n] :</p>
<p>php.ini <D:\Zend Server 5.3.1\ZendServer\etc\php.ini> include_path updated.</p>
<p>Current include path           : .<br />
Configured directory           : D:\Zend Server 5.3.1\ZendServer\bin\pear<br />
Currently used php.ini (guess) : D:\Zend Server 5.3.1\ZendServer\etc\php.ini<br />
Press Enter to continue:</p>
<p>** WARNING! Old version found at D:\Zend Server 5.3.1\ZendServer\bin, please remove it or be sure to use the new d:\zend<br />
 server 5.3.1\zendserver\bin\pear.bat command</p>
<p>The &#8216;pear&#8217; command is now at your service at d:\zend server 5.3.1\zendserver\bin\pear.bat</p>
<p>* WINDOWS ENVIRONMENT VARIABLES *<br />
For convenience, a REG file is available under D:\Zend Server 5.3.1\ZendServer\bin\PEAR_ENV.reg .<br />
This file creates ENV variables for the current user.</p>
<p>Double-click this file to add it to the current user registry.
</p></blockquote>
<p>2. Update pear:</p>
<pre class="brush: plain;">
pear channel-update pear.php.net
</pre>
<p>and</p>
<pre class="brush: plain;">
pear upgrade pear
</pre>
<p>3. Install PHPUnit via PEAR by running:</p>
<pre class="brush: plain;">
pear channel-discover pear.phpunit.de
</pre>
<p>and </p>
<pre class="brush: plain;">
pear install phpunit/PHPUnit
</pre>
<p>see also: <a href="http://www.phpunit.de/manual/3.0/en/installation.html">Chapter 3. Installing PHPUnit</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/04/22/installing-phpunit-to-run-phpunit-xml-for-zend-server-5-3-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIP: Get the proper code completion in Zend Framework.</title>
		<link>http://ingol.nl/blog/2010/04/19/tip-get-the-proper-code-completion-in-zend-framework/</link>
		<comments>http://ingol.nl/blog/2010/04/19/tip-get-the-proper-code-completion-in-zend-framework/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 10:31:48 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=379</guid>
		<description><![CDATA[Some of the standard code completions don&#8217;t work properly because various Zend Framework classes redirect method calls by using the magic method &#8220;__call($method, array $options)&#8221;. For example Zend_Translate does not include the addTranslation method but redirects the call to the applied adapter. You can add a document property which enables the correct code completion. Unfortunately [...]]]></description>
			<content:encoded><![CDATA[<p>Some of the standard code completions don&#8217;t work properly because various Zend Framework classes redirect method calls by using the magic method &#8220;__call($method, array $options)&#8221;. For example Zend_Translate does not include the addTranslation method but redirects the call to the applied adapter. You can add a document property which enables the correct code completion. Unfortunately it will only complete the adapter&#8217;s methods then, but the adapter does include the methods which you probably want to see completed/documented. The question remains if the whole magic method redirection is a nice way to implement an adapter pattern.</p>
<pre class="brush: php;">
/* @var $translate Zend_Translate_Adapter_Array */
$translate = new Zend_Translate('Zend_Translate_Adapter_Array', $us, 'en_US');
$translate-&gt;addTranslation($nl, 'nl');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/04/19/tip-get-the-proper-code-completion-in-zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIP: Missing Zend Framework Errors?!?</title>
		<link>http://ingol.nl/blog/2010/04/19/tip-missing-zend-framework-errors/</link>
		<comments>http://ingol.nl/blog/2010/04/19/tip-missing-zend-framework-errors/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 10:20:09 +0000</pubDate>
		<dc:creator>Reboot</dc:creator>
				<category><![CDATA[Categorized]]></category>

		<guid isPermaLink="false">http://ingol.nl/blog/?p=374</guid>
		<description><![CDATA[If you happen to use Zend tool to create a project and globally turn off the view rendering in your control logic, the error controller will also neglect to show a stack-trace or error details. Add the following code to the error controller just in case.

public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) [...]]]></description>
			<content:encoded><![CDATA[<p>If you happen to use Zend tool to create a project and globally turn off the view rendering in your control logic, the error controller will also neglect to show a stack-trace or error details. Add the following code to the error controller just in case.</p>
<pre class="brush: php;">
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) {
	parent::__construct($request, $response, $invokeArgs);
	$this-&gt;getFrontController ()-&gt;setParam ( &quot;noViewRenderer&quot;, false );
}
</pre>
<p>It&#8217;s also better to disable the view rendering for specific controller actions and not globally, hence the Zend Framework documentation explains it best:</p>
<pre class="brush: php;">
Class FooController extends Zend_Controller_Action {
	public function init() {
		// Local to this controller only; affects all actions,
		// as loaded in init:
		$this-&gt;_helper-&gt;viewRenderer-&gt;setNoRender ( true );

		// Globally:
		$this-&gt;_helper-&gt;removeHelper ( 'viewRenderer' );

		// Also globally, but would need to be in conjunction with the
		// local version in order to propagate for this controller:
		Zend_Controller_Front::getInstance ()-&gt;setParam ( 'noViewRenderer', true );
	}
}
</pre>
<p>More detailed information at:<br />
<a href="http://framework.zend.com/manual/en/zend.controller.action.html">Action Controllers</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ingol.nl/blog/2010/04/19/tip-missing-zend-framework-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
