<?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>Marko Bischof</title>
	<atom:link href="http://blog.mbischof.de/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mbischof.de</link>
	<description>yes it is - meine yiiframework snippets</description>
	<lastBuildDate>Wed, 09 May 2012 06:58:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Mayflower entdeckt Yii</title>
		<link>http://blog.mbischof.de/mayflower-entdeckt-yii</link>
		<comments>http://blog.mbischof.de/mayflower-entdeckt-yii#comments</comments>
		<pubDate>Wed, 09 May 2012 06:58:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=964</guid>
		<description><![CDATA[Yii &#8211; Next level PHP Framework von Florian Facker View more presentations from Mayflower GmbH]]></description>
			<content:encoded><![CDATA[<div style="width:510px" id="__ss_11920479"> <strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/mayflowergmbh/florian-fackler-yiinextlevelframework" title="Yii - Next level PHP Framework von Florian Facker" target="_blank">Yii &#8211; Next level PHP Framework von Florian Facker</a></strong> <iframe src="http://www.slideshare.net/slideshow/embed_code/11920479" width="510" height="426" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
<div style="padding:5px 0 12px"> View more <a href="http://www.slideshare.net/" target="_blank">presentations</a> from <a href="http://www.slideshare.net/mayflowergmbh" target="_blank">Mayflower GmbH</a> </div>
</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/mayflower-entdeckt-yii/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zeitdifferenz mit halbstündiger Rundung</title>
		<link>http://blog.mbischof.de/zeitdifferenz-mit-halbstundiger-rundung</link>
		<comments>http://blog.mbischof.de/zeitdifferenz-mit-halbstundiger-rundung#comments</comments>
		<pubDate>Mon, 07 May 2012 13:03:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=961</guid>
		<description><![CDATA[public function getHours&#40;&#41; &#123; $from = explode&#40;':', $this-&#62;from&#41;; $to = explode&#40;':', $this-&#62;to&#41;; &#160; $fromTime = mktime&#40;$from&#91;0&#93;, $from&#91;1&#93;&#41;; $toTime = mktime&#40;$to&#91;0&#93;, $to&#91;1&#93;&#41;; &#160; $diff = abs&#40;$toTime - $fromTime&#41; - $this-&#62;pause * 60; &#160; $hours = $diff / 3600; $hours = round&#40;$hours * 2&#41;; return $hours / 2; &#125;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getHours<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$from</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">':'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">from</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$to</span>   <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">':'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">to</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$fromTime</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mktime</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$from</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$from</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$toTime</span>   <span style="color: #339933;">=</span> <span style="color: #990000;">mktime</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$to</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$diff</span> <span style="color: #339933;">=</span> <span style="color: #990000;">abs</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$toTime</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$fromTime</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">pause</span> <span style="color: #339933;">*</span> <span style="color: #cc66cc;">60</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$hours</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$diff</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">3600</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$hours</span> <span style="color: #339933;">=</span> <span style="color: #990000;">round</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$hours</span> <span style="color: #339933;">*</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$hours</span> <span style="color: #339933;">/</span> <span style="color: #cc66cc;">2</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/zeitdifferenz-mit-halbstundiger-rundung/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zugriff auf den Datenbanknamen</title>
		<link>http://blog.mbischof.de/zugriff-auf-den-datenbanknamen</link>
		<comments>http://blog.mbischof.de/zugriff-auf-den-datenbanknamen#comments</comments>
		<pubDate>Thu, 03 May 2012 10:50:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=957</guid>
		<description><![CDATA[public function getDatabase&#40;&#41; &#123; preg_match&#40;&#34;/dbname=([^;]*)/&#34;, Yii::app&#40;&#41;-&#62;db-&#62;connectionString, $matches&#41;; return $matches&#91;1&#93;; &#125;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getDatabase<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/dbname=([^;]*)/&quot;</span><span style="color: #339933;">,</span> Yii<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">db</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connectionString</span><span style="color: #339933;">,</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$matches</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/zugriff-auf-den-datenbanknamen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CConsoleCommands</title>
		<link>http://blog.mbischof.de/cconsolecommands</link>
		<comments>http://blog.mbischof.de/cconsolecommands#comments</comments>
		<pubDate>Fri, 20 Apr 2012 13:21:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=952</guid>
		<description><![CDATA[//protected/components/MyConsoleCommand.php class MyConsoleCommand extends CConsoleCommand &#123; public function beforeAction&#40;$action, $params&#41; &#123; $this-&#62;println&#40;'...start'&#41;; return parent::beforeAction&#40;$action, $params&#41;; &#125; &#160; public function afterAction&#40;$action, $params&#41; &#123; parent::afterAction&#40;$action, $params&#41;; $this-&#62;println&#40;'...end'&#41;; &#125; &#160; public function println&#40;$str&#41; &#123; echo $str . PHP_EOL; &#125; &#125; //protected/commands/TestCommand.php class TestCommand extends MyConsoleCommand &#123; public function actionRun&#40;&#41; &#123; $this-&#62;install&#40;1&#41;; $this-&#62;install&#40;2&#41;; $this-&#62;run&#40;array&#40;'install', '--name=Hallo'&#41;&#41;; $this-&#62;run&#40;array&#40;'install', '--name=Welt'&#41;&#41;; &#160; $this-&#62;commandRunner-&#62;createCommand&#40;'new'&#41;-&#62;run&#40;array&#40;'index', [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//protected/components/MyConsoleCommand.php</span>
<span style="color: #000000; font-weight: bold;">class</span> MyConsoleCommand <span style="color: #000000; font-weight: bold;">extends</span> CConsoleCommand
<span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> beforeAction<span style="color: #009900;">&#40;</span><span style="color: #000088;">$action</span><span style="color: #339933;">,</span> <span style="color: #000088;">$params</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><span style="color: #004000;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'...start'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">return</span> parent<span style="color: #339933;">::</span><span style="color: #004000;">beforeAction</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$action</span><span style="color: #339933;">,</span> <span style="color: #000088;">$params</span><span style="color: #009900;">&#41;</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> afterAction<span style="color: #009900;">&#40;</span><span style="color: #000088;">$action</span><span style="color: #339933;">,</span> <span style="color: #000088;">$params</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        parent<span style="color: #339933;">::</span><span style="color: #004000;">afterAction</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$action</span><span style="color: #339933;">,</span> <span style="color: #000088;">$params</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'...end'</span><span style="color: #009900;">&#41;</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> println<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$str</span> <span style="color: #339933;">.</span> PHP_EOL<span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//protected/commands/TestCommand.php</span>
<span style="color: #000000; font-weight: bold;">class</span> TestCommand <span style="color: #000000; font-weight: bold;">extends</span> MyConsoleCommand
<span style="color: #009900;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> actionRun<span style="color: #009900;">&#40;</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><span style="color: #004000;">install</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">install</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">run</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'install'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'--name=Hallo'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">run</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'install'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'--name=Welt'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">commandRunner</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">createCommand</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'new'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">run</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'index'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'--name=Hallo Welt'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000000; font-weight: bold;">function</span> install<span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</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><span style="color: #004000;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'HERE WE ARE IN INSTALL: '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</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> actionInstall<span style="color: #009900;">&#40;</span><span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</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><span style="color: #004000;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'HERE WE ARE IN ACTION INSTALL: '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$name</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></div></div>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//protected/commands/NewCommand.php</span>
<span style="color: #000000; font-weight: bold;">class</span> NewCommand <span style="color: #000000; font-weight: bold;">extends</span> MyConsoleCommand
<span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> actionIndex<span style="color: #009900;">&#40;</span><span style="color: #000088;">$name</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</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><span style="color: #004000;">println</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WE ARE NOW IN NEW::INDEX - '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$name</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></div></div>


<div class="wp_syntax"><div class="code"><pre class="plain" style="font-family:monospace;">&gt;protected/yiic test run</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/cconsolecommands/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eine Slideshow</title>
		<link>http://blog.mbischof.de/eine-slideshow</link>
		<comments>http://blog.mbischof.de/eine-slideshow#comments</comments>
		<pubDate>Thu, 29 Mar 2012 16:19:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=947</guid>
		<description><![CDATA[//in einer view-Datei, zeige mir alle Bilder eines Ordners in einer Slideshow an &#60;?php $this-&#62;widget&#40;'ext.slideshow.SlideshowWidget', array&#40;'dir' =&#62; 'images'&#41;&#41;; ?&#62; Dafür laden wir uns mal eine JQuery-Slideshow. Abspeichern unter extensions/slideshow/assets/slideshow.js. Der Quellcode dieser Seite zeigt uns die simple Anwendung, die wir nur noch als Widget implementieren müssen. //extensions.slideshow.SlideshowWidget.php class SlideshowWidget extends CWidget &#123; public $dir; public [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">//in einer view-Datei, zeige mir alle Bilder eines Ordners in einer Slideshow an
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widget</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ext.slideshow.SlideshowWidget'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'dir'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'images'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Dafür laden wir uns mal eine <a href="http://malsup.com/jquery/cycle/lite">JQuery-Slideshow</a>.<br />
Abspeichern unter <em>extensions/slideshow/assets/slideshow.js</em>.<br />
Der Quellcode <a href="http://malsup.com/jquery/cycle/basic.html">dieser Seite</a> zeigt uns die simple Anwendung, die wir nur noch als Widget implementieren müssen.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//extensions.slideshow.SlideshowWidget.php</span>
<span style="color: #000000; font-weight: bold;">class</span> SlideshowWidget <span style="color: #000000; font-weight: bold;">extends</span> CWidget
<span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$dir</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$width</span>  <span style="color: #339933;">=</span> <span style="color: #cc66cc;">600</span><span style="color: #339933;">;</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$height</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">450</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> static <span style="color: #000088;">$assetsUrl</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getImageUrl<span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        <span style="color: #b1b100;">return</span> Yii<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">baseUrl</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">dir</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/'</span> <span style="color: #339933;">.</span> <span style="color: #990000;">basename</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</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> run<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>   
        <span style="color: #000088;">$path</span> <span style="color: #339933;">=</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'.'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">dir</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$path</span> <span style="color: #339933;">=</span> Yii<span style="color: #339933;">::</span><span style="color: #004000;">getPathOfAlias</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'webroot.'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$path</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$files</span> <span style="color: #339933;">=</span> CFileHelper<span style="color: #339933;">::</span><span style="color: #004000;">findFiles</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$path</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'fileTypes'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'jpg'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'jpeg'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'gif'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'png'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'level'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        Yii<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">clientScript</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">registerScriptFile</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #004000;">getAssetsUrl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/slideshow.js'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        Yii<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">clientScript</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">registerScript</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'slideshow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;$('.slideshow').cycle({fx: 'fade'});&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        Yii<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">clientScript</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">registerCss</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'slideshow'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'
            .slideshow { height: '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">height</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'px; width: '</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">width</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'px; margin: auto }'</span>
        <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;div class=&quot;slideshow&quot;&gt;'</span><span style="color: #339933;">;</span>
        <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$files</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;img src=&quot;'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getImageUrl</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$file</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'&quot; /&gt;'</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/div&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000000; font-weight: bold;">public</span> static <span style="color: #000000; font-weight: bold;">function</span> getAssetsUrl<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: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #000088;">$assetsUrl</span> <span style="color: #339933;">===</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #000088;">$assetsUrl</span> <span style="color: #339933;">=</span> Yii<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getAssetManager</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">publish</span><span style="color: #009900;">&#40;</span>
                Yii<span style="color: #339933;">::</span><span style="color: #004000;">getPathOfAlias</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ext.slideshow.assets'</span><span style="color: #009900;">&#41;</span>
            <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">self</span><span style="color: #339933;">::</span><span style="color: #000088;">$assetsUrl</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/eine-slideshow/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoogleMapsWidget?</title>
		<link>http://blog.mbischof.de/googlemapswidget</link>
		<comments>http://blog.mbischof.de/googlemapswidget#comments</comments>
		<pubDate>Tue, 13 Mar 2012 10:41:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=943</guid>
		<description><![CDATA[&#60;?php $this-&#62;widget&#40;'ext.widgets.google.maps.Map', array&#40; 'id' =&#62; 'map', 'center' =&#62; array&#40;'53.12345', '12.56789'&#41;, 'zoom' =&#62; 14, 'itemView' =&#62; '_location', //template für das InfoWindow? 'dataProvider' =&#62; new CActiveDataProvider&#40;'Location'&#41;&#41; //liefert Daten für die Marker &#41;&#41;; ?&#62;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widget</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'ext.widgets.google.maps.Map'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
  <span style="color: #0000ff;">'id'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'map'</span><span style="color: #339933;">,</span>
  <span style="color: #0000ff;">'center'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'53.12345'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'12.56789'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
  <span style="color: #0000ff;">'zoom'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">14</span><span style="color: #339933;">,</span>
  <span style="color: #0000ff;">'itemView'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'_location'</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//template für das InfoWindow?</span>
  <span style="color: #0000ff;">'dataProvider'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000000; font-weight: bold;">new</span> CActiveDataProvider<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Location'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">//liefert Daten für die Marker</span>
<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/googlemapswidget/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>money in Euro darstellen</title>
		<link>http://blog.mbischof.de/money-in-euro-darstellen</link>
		<comments>http://blog.mbischof.de/money-in-euro-darstellen#comments</comments>
		<pubDate>Mon, 13 Feb 2012 10:31:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=938</guid>
		<description><![CDATA[//migration script $this-&#62;createTable&#40;'{{product}}', array&#40; 'id' =&#62; 'pk', 'name' =&#62; 'string', 'price' =&#62; 'money' //speichert decimal(19,4) &#41;&#41;; &#160; echo Yii::app&#40;&#41;-&#62;numberFormatter-&#62;formatCurrency&#40;$model-&#62;price, 'EUR'&#41;; //ergibt €1000.00]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//migration script</span>
<span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">createTable</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'{{product}}'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
  <span style="color: #0000ff;">'id'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'pk'</span><span style="color: #339933;">,</span>
  <span style="color: #0000ff;">'name'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'string'</span><span style="color: #339933;">,</span>
  <span style="color: #0000ff;">'price'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'money'</span> <span style="color: #666666; font-style: italic;">//speichert decimal(19,4)</span>
<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">echo</span> Yii<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">numberFormatter</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">formatCurrency</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$model</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">price</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'EUR'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//ergibt €1000.00</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/money-in-euro-darstellen/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brainstorming App</title>
		<link>http://blog.mbischof.de/brainstorming-app</link>
		<comments>http://blog.mbischof.de/brainstorming-app#comments</comments>
		<pubDate>Thu, 02 Feb 2012 19:59:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Prototypen]]></category>
		<category><![CDATA[Yii]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=935</guid>
		<description><![CDATA[Ganz einfache Sache. Mittels Brainstorming sollen Ideen und Lösungsvorschläge gefunden werden. Jeder kann Fragen, Probleme posten und jeder kann auch Ideen, Kommentare abliefern. Als Datenbank wird hier SQLite verwendet, somit ist keine Installation notwendig. Demo]]></description>
			<content:encoded><![CDATA[<p>Ganz einfache Sache. Mittels Brainstorming sollen Ideen und Lösungsvorschläge gefunden werden. Jeder kann Fragen, Probleme posten und jeder kann auch Ideen, Kommentare abliefern. Als Datenbank wird hier SQLite verwendet, somit ist keine Installation notwendig.</p>
<ul>
<li><a href="http://apps.mbischof.de/brainstorming">Demo</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/brainstorming-app/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>isUTF8</title>
		<link>http://blog.mbischof.de/isutf8</link>
		<comments>http://blog.mbischof.de/isutf8#comments</comments>
		<pubDate>Thu, 26 Jan 2012 16:55:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=916</guid>
		<description><![CDATA[function isUTF8&#40;$str&#41; &#123; return preg_match&#40;'/^([\x09\x0A\x0D\x20-\x7E]&#124;[\xC2][\xA0-\xBF]&#124;[\xC3-\xDF][\x80-\xBF]&#124;\xE0[\xA0-\xBF][\x80-\xBF]&#124;[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}&#124;\xED[\x80-\x9F][\x80-\xBF]&#124;\xF0[\x90-\xBF][\x80-\xBF]{2}&#124;[\xF1-\xF3][\x80-\xBF]{3}&#124;\xF4[\x80-\x8F][\x80-\xBF]{2})*$/', $str&#41;; &#125;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> isUTF8<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #990000;">preg_match</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/^([\x09\x0A\x0D\x20-\x7E]|[\xC2][\xA0-\xBF]|[\xC3-\xDF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}|\xED[\x80-\x9F][\x80-\xBF]|\xF0[\x90-\xBF][\x80-\xBF]{2}|[\xF1-\xF3][\x80-\xBF]{3}|\xF4[\x80-\x8F][\x80-\xBF]{2})*$/'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/isutf8/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CDetailView in Sidebar anzeigen</title>
		<link>http://blog.mbischof.de/detailview-in-sidebar</link>
		<comments>http://blog.mbischof.de/detailview-in-sidebar#comments</comments>
		<pubDate>Tue, 24 Jan 2012 17:05:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Yii]]></category>
		<category><![CDATA[Snippets]]></category>

		<guid isPermaLink="false">http://blog.mbischof.de/?p=911</guid>
		<description><![CDATA[Problem: die th-Spalte im DetailView ist per CSS 160px breit, passt nicht so einfach in eine schmale Sidebar Lösung: class UserInfo extends CWidget &#123; public $user; &#160; public function run&#40;&#41; &#123; Yii::app&#40;&#41;-&#62;clientScript-&#62;registerCss&#40;'sidebar', 'table.sidebar th {width: 100px;}'&#41;; $this-&#62;widget&#40;'zii.widgets.CDetailView', array&#40; 'data' =&#62; $this-&#62;user, 'htmlOptions' =&#62; array&#40;'class' =&#62; 'detail-view sidebar'&#41;, 'attributes' =&#62; array&#40; 'firstname', 'lastname' &#41;, &#41;&#41;; &#125; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<p>die th-Spalte im DetailView ist per CSS 160px breit, passt nicht so einfach in eine schmale Sidebar</p>
<p><strong>Lösung:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> UserInfo <span style="color: #000000; font-weight: bold;">extends</span> CWidget
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000088;">$user</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> run<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    Yii<span style="color: #339933;">::</span><span style="color: #004000;">app</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">clientScript</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">registerCss</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sidebar'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'table.sidebar th {width: 100px;}'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">widget</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'zii.widgets.CDetailView'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
      <span style="color: #0000ff;">'data'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">user</span><span style="color: #339933;">,</span>
      <span style="color: #0000ff;">'htmlOptions'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'class'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'detail-view sidebar'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
      <span style="color: #0000ff;">'attributes'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
        <span style="color: #0000ff;">'firstname'</span><span style="color: #339933;">,</span>
        <span style="color: #0000ff;">'lastname'</span>
      <span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
    <span style="color: #009900;">&#41;</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></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.mbischof.de/detailview-in-sidebar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

