<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Kommentare zu: Extension Programmierung: Flexform- und Typoscriptwerte zusammenführen</title>
	<atom:link href="http://typo3blogger.de/extension-programmierung-flexform-und-typoscriptwerte-zusammenfuhren/feed/" rel="self" type="application/rss+xml" />
	<link>http://typo3blogger.de/extension-programmierung-flexform-und-typoscriptwerte-zusammenfuhren/</link>
	<description>TYPO3 News, Development &#38; Insider Infos</description>
	<lastBuildDate>Wed, 23 May 2012 08:28:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Von: Mario Kröll</title>
		<link>http://typo3blogger.de/extension-programmierung-flexform-und-typoscriptwerte-zusammenfuhren/comment-page-1/#comment-32683</link>
		<dc:creator>Mario Kröll</dc:creator>
		<pubDate>Tue, 28 Sep 2010 10:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=1639#comment-32683</guid>
		<description>Ist es richtig, dass im ersten Fall die setup oder config-Werte immer nach folgendem Schema aufgebaut sein müssen?

tx_extkey_piN.sheet.field = xxxxx

Folgendes würde nicht treffen?
tx_extkey_piN.field = xxxxx

Ich fange gerade erst mit der Entwicklung an also bitte ich höflichst um etwas Nachsicht. ;-)

Danke
Mario</description>
		<content:encoded><![CDATA[<p>Ist es richtig, dass im ersten Fall die setup oder config-Werte immer nach folgendem Schema aufgebaut sein müssen?</p>
<p>tx_extkey_piN.sheet.field = xxxxx</p>
<p>Folgendes würde nicht treffen?<br />
tx_extkey_piN.field = xxxxx</p>
<p>Ich fange gerade erst mit der Entwicklung an also bitte ich höflichst um etwas Nachsicht. <img src='http://typo3blogger.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Danke<br />
Mario</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Alex</title>
		<link>http://typo3blogger.de/extension-programmierung-flexform-und-typoscriptwerte-zusammenfuhren/comment-page-1/#comment-27775</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 21 Apr 2009 14:57:43 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=1639#comment-27775</guid>
		<description>So könnte die erste Funktion in einer anderen Klasse liegen:
&lt;pre&gt;
public function flex2conf(&amp;$pObj) {
	if (is_array($pObj-&gt;cObj-&gt;data[&#039;pi_flexform&#039;][&#039;data&#039;])) { // if there are flexform values
		foreach ($pObj-&gt;cObj-&gt;data[&#039;pi_flexform&#039;][&#039;data&#039;] as $key =&gt; $value) { // every flexform category
			if (count($pObj-&gt;cObj-&gt;data[&#039;pi_flexform&#039;][&#039;data&#039;][$key][&#039;lDEF&#039;]) &gt; 0) { // if there are flexform values
				foreach ($pObj-&gt;cObj-&gt;data[&#039;pi_flexform&#039;][&#039;data&#039;][$key][&#039;lDEF&#039;] as $key2 =&gt; $value2) { // every flexform option
					if ($pObj-&gt;pi_getFFvalue($pObj-&gt;cObj-&gt;data[&#039;pi_flexform&#039;], $key2, $key)) { // if value exists in flexform
						$pObj-&gt;conf[$key.&#039;.&#039;][$key2] = $pObj-&gt;pi_getFFvalue($pObj-&gt;cObj-&gt;data[&#039;pi_flexform&#039;], $key2, $key); // overwrite $conf
					}
				}
			}
		}
	}
}
&lt;/pre&gt;

Aufruf in der Hauptklasse der Extension:
&lt;pre&gt;
$this-&gt;conf = $conf;
$this-&gt;div-&gt;flex2conf($this);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>So könnte die erste Funktion in einer anderen Klasse liegen:</p>
<pre>
public function flex2conf(&amp;$pObj) {
	if (is_array($pObj-&gt;cObj-&gt;data['pi_flexform']['data'])) { // if there are flexform values
		foreach ($pObj-&gt;cObj-&gt;data['pi_flexform']['data'] as $key =&gt; $value) { // every flexform category
			if (count($pObj-&gt;cObj-&gt;data['pi_flexform']['data'][$key]['lDEF']) &gt; 0) { // if there are flexform values
				foreach ($pObj-&gt;cObj-&gt;data['pi_flexform']['data'][$key]['lDEF'] as $key2 =&gt; $value2) { // every flexform option
					if ($pObj-&gt;pi_getFFvalue($pObj-&gt;cObj-&gt;data['pi_flexform'], $key2, $key)) { // if value exists in flexform
						$pObj-&gt;conf[$key.'.'][$key2] = $pObj-&gt;pi_getFFvalue($pObj-&gt;cObj-&gt;data['pi_flexform'], $key2, $key); // overwrite $conf
					}
				}
			}
		}
	}
}
</pre>
<p>Aufruf in der Hauptklasse der Extension:</p>
<pre>
$this-&gt;conf = $conf;
$this-&gt;div-&gt;flex2conf($this);
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Alex Kellner</title>
		<link>http://typo3blogger.de/extension-programmierung-flexform-und-typoscriptwerte-zusammenfuhren/comment-page-1/#comment-26307</link>
		<dc:creator>Alex Kellner</dc:creator>
		<pubDate>Fri, 27 Mar 2009 08:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=1639#comment-26307</guid>
		<description>Seite 126 &quot;Loading configuration&quot; gleich links oben</description>
		<content:encoded><![CDATA[<p>Seite 126 &#8220;Loading configuration&#8221; gleich links oben</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Sven Burkert</title>
		<link>http://typo3blogger.de/extension-programmierung-flexform-und-typoscriptwerte-zusammenfuhren/comment-page-1/#comment-26176</link>
		<dc:creator>Sven Burkert</dc:creator>
		<pubDate>Wed, 25 Mar 2009 11:06:30 +0000</pubDate>
		<guid isPermaLink="false">http://typo3blogger.de/?p=1639#comment-26176</guid>
		<description>Hallo,

guter Tipp, aber in die Funktion &quot;fetchConfigurationValue&quot; ist fehlerhaft: Du mußt ja noch das Sheet angeben, in dem der Wert steht (standard ist &quot;sDEF&quot;).

	function fetchConfigurationValue($fieldName, $sheet) {
		$value = trim($this-&gt;pi_getFFvalue($this-&gt;cObj-&gt;data[&#039;pi_flexform&#039;], $fieldName, $sheet));
		return $value ? $value : $this-&gt;conf[$fieldName];
	}

Auf welcher Seite steht diese Funktion im Buch? Konnte sie nicht finden.</description>
		<content:encoded><![CDATA[<p>Hallo,</p>
<p>guter Tipp, aber in die Funktion &#8220;fetchConfigurationValue&#8221; ist fehlerhaft: Du mußt ja noch das Sheet angeben, in dem der Wert steht (standard ist &#8220;sDEF&#8221;).</p>
<p>	function fetchConfigurationValue($fieldName, $sheet) {<br />
		$value = trim($this-&gt;pi_getFFvalue($this-&gt;cObj-&gt;data['pi_flexform'], $fieldName, $sheet));<br />
		return $value ? $value : $this-&gt;conf[$fieldName];<br />
	}</p>
<p>Auf welcher Seite steht diese Funktion im Buch? Konnte sie nicht finden.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

