<?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>A typical Developer Blog</title>
	<atom:link href="http://blog.nevalon.de/de/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.nevalon.de</link>
	<description>Gordon Franke</description>
	<lastBuildDate>Mon, 14 Mar 2011 13:34:37 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Wie kann ich user attribute in meinem Functional test überschreiben?</title>
		<link>http://blog.nevalon.de/de/wie-kann-ich-user-attribute-in-meinem-functional-test-uberschreiben-20110314</link>
		<comments>http://blog.nevalon.de/de/wie-kann-ich-user-attribute-in-meinem-functional-test-uberschreiben-20110314#comments</comments>
		<pubDate>Mon, 14 Mar 2011 13:34:02 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[functional test]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[sfBrowser]]></category>
		<category><![CDATA[user]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=381</guid>
		<description><![CDATA[Manch mal hängt der code von einem user attribute ab, also will man das user attribute in seinem functional test überschreiben. Das Problem ist das die doCall Methode in der sfBrowser Klasse den context neuerstellt und am ende die shutdown Methode für den user und die storage Objekte , zum schreiben der Session daten, aufruft. [...]
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Manch mal hängt der code von einem user attribute ab, also will man das user attribute in seinem functional test überschreiben.</p>
<p>Das Problem ist das die <em>doCall</em> Methode in der <em>sfBrowser</em> Klasse den context neuerstellt und am ende die <em>shutdown</em> Methode für den user und die storage Objekte , zum schreiben der Session daten, aufruft.</p>
<p>Also muss man seine eigene Browser Klasse erstellen und die <em>doCall</em> Methode überschreiben und den code an den Anfang verschieben.</p>
<p>Browser Klasse:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> myBrowser <span style="color: #000000; font-weight: bold;">extends</span> sfBrowser
<span style="color: #009900;">&#123;</span>
  <span style="color: #009933; font-style: italic;">/**
   * Calls a request to a uri.
   */</span>
  <span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000000; font-weight: bold;">function</span> doCall<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// manually shutdown user to save current session data</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">context</span><span style="color: #009900;">&#41;</span> AND <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">context</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: #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;">context</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;">shutdown</span><span style="color: #009900;">&#40;</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;">context</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getStorage</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">shutdown</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// recycle our context object</span>
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">context</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getContext</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    sfConfig<span style="color: #339933;">::</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sf_test'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// we register a fake rendering filter</span>
    sfConfig<span style="color: #339933;">::</span><span style="color: #004000;">set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sf_rendering_filter'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sfFakeRenderingFilter'</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;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">resetCurrentException</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// dispatch our request</span>
    <span style="color: #990000;">ob_start</span><span style="color: #009900;">&#40;</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;">context</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getController</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">dispatch</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$retval</span> <span style="color: #339933;">=</span> <span style="color: #990000;">ob_get_clean</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// append retval to the response content</span>
    <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">context</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getResponse</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setContent</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$retval</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>

<p>Test code:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">include</span> <span style="color: #990000;">dirname</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">__FILE__</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'/../../bootstrap/functional.php'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$browser</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> sfTestFunctional<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> myBrowser<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$browser</span><span style="color: #339933;">-&gt;</span>
  <span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/site-one'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// override the session data</span>
<span style="color: #000088;">$browser</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;">'key'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$browser</span><span style="color: #339933;">-&gt;</span>
  <span style="color: #004000;">get</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'/site-one'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/wie-kann-ich-user-attribute-in-meinem-functional-test-uberschreiben-20110314/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Symfony und die kompilierte version von doctrine</title>
		<link>http://blog.nevalon.de/de/symfony-und-die-kompilierte-version-von-doctrine-20110118</link>
		<comments>http://blog.nevalon.de/de/symfony-und-die-kompilierte-version-von-doctrine-20110118#comments</comments>
		<pubDate>Tue, 18 Jan 2011 16:26:17 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=375</guid>
		<description><![CDATA[In a new symfony project i have tested the doctrine compiled version. since 1.3.7 symfony support this.

<a href="
http://www.symfony-project.org/blog/2010/09/22/symfony-1-3-7-1-4-7">http://www.symfony-project.org/blog/2010/09/22/symfony-1-3-7-1-4-7</a>

I have learned two things.

first when you compile doctrine use the --driver option. with mysql you can save ~15% file size.

Second use Doctrine_Core not Doctrine.
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>In einem neuen symfony Projekt habe ich nun mal doctrine in der kompilierten version getestet. Seit version 1.3.7 von symfony wird dies unterstützt.</p>
<p><a href=" http://www.symfony-project.org/blog/2010/09/22/symfony-1-3-7-1-4-7">http://www.symfony-project.org/blog/2010/09/22/symfony-1-3-7-1-4-7</a></p>
<h2>Dabei habe ich zwei Dinge gelernt</h2>
<p>Erstens sollte man die option<em> &#8211;driver</em> verwenden. Mit <em>mysql</em> kann man so ~15% der Dateigröße sparen.</p>
<p>Zweitens sollte man Doctrine_Core und nicht Doctrine verwenden, da dies sonst zu fatal errors führt, da die Klasse deprecated ist und nicht mit kompiliert wird.<br />
Um den Klassennamen automatisch zu fixen siehe:<a title="Wechseln von Doctrine to Doctrine_Core mit einem Befehl" href="../de/wechseln-von-doctrine-to-doctrine_core-mit-einem-befehl-change-from-doctrine-to-doctrine_core-with-one-command-20091202"><br />
Wechseln von Doctrine to Doctrine_Core mit einem Befehl</a></p>
<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/symfony-und-die-kompilierte-version-von-doctrine-20110118/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simples skript zum finden fehlender Übersetzungen</title>
		<link>http://blog.nevalon.de/de/simples-skript-zum-finden-fehlender-ubersetzungen-20100810</link>
		<comments>http://blog.nevalon.de/de/simples-skript-zum-finden-fehlender-ubersetzungen-20100810#comments</comments>
		<pubDate>Tue, 10 Aug 2010 12:01:10 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=369</guid>
		<description><![CDATA[No related posts. Ähnliche Artikel bereitgestellt von Yet Another Related Posts Plugin.
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><script src="http://gist.github.com/517132.js?file=symfony1_find_missing_translation_strings.php"></script></p>
<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/simples-skript-zum-finden-fehlender-ubersetzungen-20100810/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Wie nutze ich die Rechteverwaltung in symfony admin generator formularen?</title>
		<link>http://blog.nevalon.de/de/wie-nutze-ich-die-rechteverwaltung-in-symfony-admin-generator-formularen-20100729</link>
		<comments>http://blog.nevalon.de/de/wie-nutze-ich-die-rechteverwaltung-in-symfony-admin-generator-formularen-20100729#comments</comments>
		<pubDate>Thu, 29 Jul 2010 14:25:36 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[guard]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=361</guid>
		<description><![CDATA[Wenn du bestimmt Felder oder Feldgruppen entfernen möchtest, wenn ein Benutzer nicht die dafür erforderlichen Rechte besitzt, musst du folgendes tun: 1. öffne deine action Klasse und füge folgendes ein: public function preExecute&#40;&#41; &#123; parent::preExecute&#40;&#41;; &#160; $this-&#62;configuration-&#62;setUser&#40;$this-&#62;getUser&#40;&#41;&#41;; &#125; 2. öffne die *GeneratorConfiguration Klasse und füge folgendes ein: protected $user; &#160; public function setUser&#40;$user&#41; &#123; $this-&#62;user [...]
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Wenn du bestimmt Felder oder Feldgruppen entfernen möchtest, wenn ein Benutzer nicht die dafür erforderlichen Rechte besitzt, musst du folgendes tun:</p>
<p>1. öffne deine <em>action</em> Klasse und füge folgendes ein:</p>

<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> preExecute<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  parent<span style="color: #339933;">::</span><span style="color: #004000;">preExecute</span><span style="color: #009900;">&#40;</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;">configuration</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setUser</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</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: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>2. öffne die <em>*GeneratorConfiguration</em> Klasse und füge folgendes ein:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">protected</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> setUser<span style="color: #009900;">&#40;</span><span style="color: #000088;">$user</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;">user</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$user</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> getUser<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">return</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: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> getEditDisplay<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$fieldsets</span> <span style="color: #339933;">=</span> parent<span style="color: #339933;">::</span><span style="color: #004000;">getEditDisplay</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$this</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;">hasCredential</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span>
      <span style="color: #000088;">$fieldsets</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Auth'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// field</span>
      <span style="color: #000088;">$fieldsets</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'Rights'</span><span style="color: #009900;">&#93;</span>   <span style="color: #666666; font-style: italic;">// field group</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: #000088;">$fieldsets</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> getNewDisplay<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #339933;">...</span> <span style="color: #666666; font-style: italic;">// see getEditDisplay</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> getFormOptions<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'user'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$this</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: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>3. zuletzt öffne die <em>*Form</em> Klasse und füge folgendes ein:</p>

<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> configure<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #339933;">...</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getOption</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'user'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">hasCredential</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'admin'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #990000;">unset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'is_super_admin'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'groups_list'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$this</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'permissions_list'</span><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: #339933;">...</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/wie-nutze-ich-die-rechteverwaltung-in-symfony-admin-generator-formularen-20100729/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wie kann ich automatisch ids, für meine trans-units, in meinen XML Xliff Übersetzungs Dateien vergeben?</title>
		<link>http://blog.nevalon.de/de/wie-kann-ich-automatisch-ids-fur-meine-trans-units-in-meinen-xml-xliff-ubersetzungs-dateien-vergeben-how-can-i-automatic-add-ids-to-my-trans-unit-nodes-in-my-xml-xliff-tanslation-files-20100714</link>
		<comments>http://blog.nevalon.de/de/wie-kann-ich-automatisch-ids-fur-meine-trans-units-in-meinen-xml-xliff-ubersetzungs-dateien-vergeben-how-can-i-automatic-add-ids-to-my-trans-unit-nodes-in-my-xml-xliff-tanslation-files-20100714#comments</comments>
		<pubDate>Wed, 14 Jul 2010 11:01:49 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[i18n]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=353</guid>
		<description><![CDATA[Wer seine XML Xliff Dateien gegen die dtd validiert hat oft das Problem, dass die einzelnen trans-unit Nodes keine oder eine bereits existierende id aufweisen. Um dieses Problem zu lösen hab ich mir ein kleines Skript gebaut. fix_id.php 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 &#60;?php &#160; [...]
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Wer seine XML Xliff Dateien gegen die dtd validiert hat oft das Problem, dass die einzelnen trans-unit Nodes keine oder eine bereits existierende id aufweisen. Um dieses Problem zu lösen hab ich mir ein kleines Skript gebaut.</p>
<p>fix_id.php</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #000088;">$doc</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DOMDocument<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$doc</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">load</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$argv</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;">$xpath</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> DOMXPath<span style="color: #009900;">&#40;</span><span style="color: #000088;">$doc</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'//trans-unit'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$entries</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$xpath</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$entries</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$entry</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$entry</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'id'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$i</span><span style="color: #339933;">+</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000088;">$doc</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">save</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$argv</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></pre></td></tr></table></div>

<p>Im symfony1 Hauptverzeichnis nun folgenden Befehl absetzen <img src='http://blog.nevalon.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> FILE <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">find</span> apps<span style="color: #000000; font-weight: bold;">/*/</span>i18n <span style="color: #660033;">-name</span> <span style="color: #000000; font-weight: bold;">*</span>\.xml<span style="color: #000000; font-weight: bold;">`</span>; <span style="color: #000000; font-weight: bold;">do</span> php fix_id.php <span style="color: #007800;">$FILE</span>; <span style="color: #000000; font-weight: bold;">done</span>;</pre></div></div>

<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/wie-kann-ich-automatisch-ids-fur-meine-trans-units-in-meinen-xml-xliff-ubersetzungs-dateien-vergeben-how-can-i-automatic-add-ids-to-my-trans-unit-nodes-in-my-xml-xliff-tanslation-files-20100714/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GTUG Battle Hackathon</title>
		<link>http://blog.nevalon.de/de/gtug-battle-hackathon-20100304</link>
		<comments>http://blog.nevalon.de/de/gtug-battle-hackathon-20100304#comments</comments>
		<pubDate>Thu, 04 Mar 2010 12:58:26 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[chrome]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=335</guid>
		<description><![CDATA[Am Montag fand der GTUG Battle Hackathon statt. Das ganze fand bei Google hier in München statt. An welchem Projekt wir gerade arbeiten wird wohl am 15.März verraten. Ich kann schon mal soviel verraten es ich natürlich ein chrome plugin No related posts. Ähnliche Artikel bereitgestellt von Yet Another Related Posts Plugin.
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Am Montag fand der GTUG Battle Hackathon statt. Das ganze fand bei Google hier in München statt. An welchem Projekt wir gerade arbeiten wird wohl am 15.März verraten. Ich kann schon mal soviel verraten es ich natürlich ein chrome plugin <img src='http://blog.nevalon.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div id="attachment_337" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.nevalon.de/files/2010/03/SDC19434.JPG"><img class="size-thumbnail wp-image-337" title="SDC19434" src="http://blog.nevalon.de/files/2010/03/SDC19434-150x150.jpg" alt="Google Battle Hackathon 2010" width="150" height="150" /></a><p class="wp-caption-text">Google Battle Hackathon 2010</p></div>
<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/gtug-battle-hackathon-20100304/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Woher bekomme ich das &#8220;Pro Git&#8221; Buch als pdf?</title>
		<link>http://blog.nevalon.de/de/woher-bekomme-ich-das-pro-git-buch-als-pdf-where-can-i-get-pro-git-book-as-pdf-20100208</link>
		<comments>http://blog.nevalon.de/de/woher-bekomme-ich-das-pro-git-buch-als-pdf-where-can-i-get-pro-git-book-as-pdf-20100208#comments</comments>
		<pubDate>Mon, 08 Feb 2010 11:49:12 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=323</guid>
		<description><![CDATA[Als erstes das git repository ausschecken git clone git://github.com/progit/progit.git Wenn du Ubuntu benutzt musste du ein paar Pakete nachinstallieren sudo aptitude install ruby pandoc texlive-xetex texlive-latex-recommended anschließend kannst du das PDF in deiner bevorzugten Sprache erstellen lassen. Führe im latex Verzeichnis folgendes Kommando aus. ruby makepdf en No related posts. Ähnliche Artikel bereitgestellt von Yet [...]
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Als erstes das git repository ausschecken</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">git</span> clone <span style="color: #c20cb9; font-weight: bold;">git</span>:<span style="color: #000000; font-weight: bold;">//</span>github.com<span style="color: #000000; font-weight: bold;">/</span>progit<span style="color: #000000; font-weight: bold;">/</span>progit.git</pre></div></div>

<p>Wenn du Ubuntu benutzt musste du ein paar Pakete nachinstallieren</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> ruby pandoc texlive-xetex texlive-latex-recommended</pre></div></div>

<p>anschließend kannst du das PDF in deiner bevorzugten Sprache erstellen lassen. Führe im latex Verzeichnis folgendes Kommando aus.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ruby makepdf en</pre></div></div>

<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/woher-bekomme-ich-das-pro-git-buch-als-pdf-where-can-i-get-pro-git-book-as-pdf-20100208/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wie kann man in symfony 1.3 einfach alle Formular Pflichtfelder kennzeichnen?</title>
		<link>http://blog.nevalon.de/de/wie-kann-man-in-symfony-1-3-einfach-alle-formular-pflichtfelder-kennzeichnen-how-can-i-simple-mark-all-required-form-fields-in-symfony-1-3-20091212</link>
		<comments>http://blog.nevalon.de/de/wie-kann-man-in-symfony-1-3-einfach-alle-formular-pflichtfelder-kennzeichnen-how-can-i-simple-mark-all-required-form-fields-in-symfony-1-3-20091212#comments</comments>
		<pubDate>Sat, 12 Dec 2009 22:08:46 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[form]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=309</guid>
		<description><![CDATA[Erstelle eine Funktion in deiner BaseForm Klasse 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 public static function listenToPostConfigure&#40;$event&#41; &#123; $form = $event-&#62;getSubject&#40;&#41;; $widgetSchema = $form-&#62;getWidgetSchema&#40;&#41;; $validatorSchema = $form-&#62;getValidatorSchema&#40;&#41;; &#160; $fields = $form-&#62;getFormFieldSchema&#40;&#41;-&#62;getWidget&#40;&#41;-&#62;getFields&#40;&#41;; foreach &#40;$fields as $key =&#62; $object&#41; &#123; $label = $form-&#62;getFormFieldSchema&#40;&#41;-&#62;offsetGet&#40;$key&#41;-&#62;renderLabelName&#40;&#41;; if &#40;isset&#40;$validatorSchema&#91;$key&#93;&#41; [...]
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Erstelle eine Funktion in deiner <em>BaseForm</em> Klasse</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> static <span style="color: #000000; font-weight: bold;">function</span> listenToPostConfigure<span style="color: #009900;">&#40;</span><span style="color: #000088;">$event</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$form</span>            <span style="color: #339933;">=</span> <span style="color: #000088;">$event</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getSubject</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$widgetSchema</span>    <span style="color: #339933;">=</span> <span style="color: #000088;">$form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getWidgetSchema</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$validatorSchema</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getValidatorSchema</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
  <span style="color: #000088;">$fields</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getFormFieldSchema</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getWidget</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getFields</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$fields</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$object</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$label</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$form</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getFormFieldSchema</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">offsetGet</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">renderLabelName</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$validatorSchema</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> and <span style="color: #000088;">$validatorSchema</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$key</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getOption</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'required'</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$title</span>  <span style="color: #339933;">=</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'_field_is_required'</span><span style="color: #339933;">;</span>
      <span style="color: #000088;">$label</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&lt;sup&gt;getFormFormatter()-&gt;translate($title) . '</span><span style="color: #0000ff;">&quot;&gt;*&lt;/sup&gt;';
    }
    <span style="color: #006699; font-weight: bold;">$widgetSchema-&gt;setLabel</span>(<span style="color: #006699; font-weight: bold;">$key</span>, <span style="color: #006699; font-weight: bold;">$label</span>);
  }
}</span></pre></td></tr></table></div>

<p>Add a listener to the <em>form.post_configure</em> event with your function</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$dispatcher</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getEventDispatcher</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$dispatcher</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'form.post_configure'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'BaseForm'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'listenToPostConfigure'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/wie-kann-man-in-symfony-1-3-einfach-alle-formular-pflichtfelder-kennzeichnen-how-can-i-simple-mark-all-required-form-fields-in-symfony-1-3-20091212/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wie kann ich das netbeans Farbschema anpassen um auszusehen wie in den symfony Dokumentationen?</title>
		<link>http://blog.nevalon.de/de/wie-kann-ich-das-netbeans-farbschema-anpassen-um-auszusehen-wie-in-den-symfony-dokumentationen-how-can-i-change-the-netbeans-color-schema-to-look-like-symfony-documentations-20091212</link>
		<comments>http://blog.nevalon.de/de/wie-kann-ich-das-netbeans-farbschema-anpassen-um-auszusehen-wie-in-den-symfony-dokumentationen-how-can-i-change-the-netbeans-color-schema-to-look-like-symfony-documentations-20091212#comments</comments>
		<pubDate>Sat, 12 Dec 2009 21:45:47 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[symfony]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=300</guid>
		<description><![CDATA[Einfach folgende Datei in das Verzeichnis netbeans-6.8/nb6.8 entpacken: SymfonyColorScheme.zip Danke an Ze Technology für das Farbschema http://www.ze-technology.com/2009/12/11/netbeans-aux-couleurs-de-symfony/ No related posts. Ähnliche Artikel bereitgestellt von Yet Another Related Posts Plugin.
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Einfach folgende Datei in das Verzeichnis <em>netbeans-6.8/nb6.8</em> entpacken:<br />
<a href='http://blog.nevalon.de/files/2009/12/SymfonyColorScheme.zip'>SymfonyColorScheme.zip</a></p>
<p>Danke an <strong>Ze Technology</strong> für das Farbschema</p>
<p>http://www.ze-technology.com/2009/12/11/netbeans-aux-couleurs-de-symfony/</p>
<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/wie-kann-ich-das-netbeans-farbschema-anpassen-um-auszusehen-wie-in-den-symfony-dokumentationen-how-can-i-change-the-netbeans-color-schema-to-look-like-symfony-documentations-20091212/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wechseln von Doctrine to Doctrine_Core mit einem Befehl</title>
		<link>http://blog.nevalon.de/de/wechseln-von-doctrine-to-doctrine_core-mit-einem-befehl-change-from-doctrine-to-doctrine_core-with-one-command-20091202</link>
		<comments>http://blog.nevalon.de/de/wechseln-von-doctrine-to-doctrine_core-mit-einem-befehl-change-from-doctrine-to-doctrine_core-with-one-command-20091202#comments</comments>
		<pubDate>Wed, 02 Dec 2009 11:54:50 +0000</pubDate>
		<dc:creator>Gordon Franke</dc:creator>
				<category><![CDATA[doctrine]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://blog.nevalon.de/de/?p=277</guid>
		<description><![CDATA[Um deinen Code von Doctrine auf Doctrine_Core umzustellen kannst du folgenden Befehl verwenden 1 for fl in `find apps/ config/ lib/ test/ -name *.php`; do mv $fl $fl.old; sed 's/Doctrine::/Doctrine_Core::/g' $fl.old &#62; $fl; rm -f $fl.old; done Wenn du ein Plugin hast benutze folgenden Befehl 1 for fl in `find . -name *.php`; do mv [...]
No related posts.

Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Um deinen Code von Doctrine auf Doctrine_Core umzustellen kannst du folgenden Befehl verwenden</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> fl <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">find</span> apps<span style="color: #000000; font-weight: bold;">/</span> config<span style="color: #000000; font-weight: bold;">/</span> lib<span style="color: #000000; font-weight: bold;">/</span> test<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-name</span> <span style="color: #000000; font-weight: bold;">*</span>.php<span style="color: #000000; font-weight: bold;">`</span>; <span style="color: #000000; font-weight: bold;">do</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$fl</span> <span style="color: #007800;">$fl</span>.old; <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/Doctrine::/Doctrine_Core::/g'</span> <span style="color: #007800;">$fl</span>.old <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$fl</span>; <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$fl</span>.old; <span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div>

<p>Wenn du ein Plugin hast benutze folgenden Befehl</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> fl <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-name</span> <span style="color: #000000; font-weight: bold;">*</span>.php<span style="color: #000000; font-weight: bold;">`</span>; <span style="color: #000000; font-weight: bold;">do</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #007800;">$fl</span> <span style="color: #007800;">$fl</span>.old; <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/Doctrine::/Doctrine_Core::/g'</span> <span style="color: #007800;">$fl</span>.old <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #007800;">$fl</span>; <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$fl</span>.old; <span style="color: #000000; font-weight: bold;">done</span></pre></td></tr></table></div>

<p>No related posts.</p>
<p>Ähnliche Artikel bereitgestellt von <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.nevalon.de/de/wechseln-von-doctrine-to-doctrine_core-mit-einem-befehl-change-from-doctrine-to-doctrine_core-with-one-command-20091202/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

