<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=4966&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / [GELÖST] Multidimensionale arrays in foreach Schleife sortieren]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=4966</link>
		<description><![CDATA[Die aktuellsten Beiträge in [GELÖST] Multidimensionale arrays in foreach Schleife sortieren.]]></description>
		<lastBuildDate>Fri, 13 Jan 2017 17:23:31 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [GELÖST] Multidimensionale arrays in foreach Schleife sortieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39899#p39899</link>
			<description><![CDATA[<div class="quotebox"><cite>pWorker schrieb:</cite><blockquote><div><p>Es fehlt ja z.B. auch die Möglichkeit den einzelnen Wert &quot;firmenname&quot; innerhalb des arrays &quot;properties&quot; anzusprechen.</p></div></blockquote></div><p>Eignet sich wohl nicht für multidimensionale Arrays...</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Fri, 13 Jan 2017 17:23:31 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39899#p39899</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Multidimensionale arrays in foreach Schleife sortieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39875#p39875</link>
			<description><![CDATA[<p><strong>... und auch dieses Problem lässt sich lösen...:</strong></p><div class="codebox"><pre><code>   $(document).ready(function() {

var $divs = $(&quot;div.verzeichnisseg&quot;);
var alphabeticallyOrderedDivs = $divs.sort(function (a, b) {
        return $(a).find(&quot;a&quot;).text().toUpperCase() &gt; $(b).find(&quot;a&quot;).text().toUpperCase();
 });

var list1 = $(alphabeticallyOrderedDivs).slice(0,20);
    $(&quot;#suchergebnisslider&quot;).html(list1);
})</code></pre></div><p>Die slice() Funktion brauche ich, weil ich die results im Anschluss in ein flex slider li Element packen will. So vergleicht der jetzt die Einträge &lt;a&gt; innerhalb der divs class= verzeichnisseg und das Ergebnis wird (gesliced) in der div id=suchergebnisslider ausgegeben.</p><p>mfg</p>]]></description>
			<author><![CDATA[dummy@example.com (pWorker)]]></author>
			<pubDate>Tue, 10 Jan 2017 18:49:30 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39875#p39875</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Multidimensionale arrays in foreach Schleife sortieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39874#p39874</link>
			<description><![CDATA[<p><strong>Hey,</strong></p><p>Danke für den Tipp. Der Modifier sortiert den array um, aber in einer Art und Weise wie ich sie nicht nachvollziehen kann... Es fehlt ja z.B. auch die Möglichkeit den einzelnen Wert &quot;firmenname&quot; innerhalb des arrays &quot;properties&quot; anzusprechen.</p>]]></description>
			<author><![CDATA[dummy@example.com (pWorker)]]></author>
			<pubDate>Tue, 10 Jan 2017 14:16:48 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39874#p39874</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] Multidimensionale arrays in foreach Schleife sortieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39873#p39873</link>
			<description><![CDATA[<p>Hatte da vor längerem mal einen UDT gefunden, bei dem man nach Properties sortieren konnte - keine Ahnung, ob es dir helfen kann </p><p><a href="http://www.cmsmadesimple.fr/forum/viewtopic.php?id=4439" rel="nofollow">http://www.cmsmadesimple.fr/forum/viewtopic.php?id=4439</a></p><p>Ist zwar französisch, aber Google Translate richtet es schon <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" /></p><p><a href="https://translate.google.com/translate?sl=fr&amp;tl=de&amp;js=y&amp;prev=_t&amp;hl=de&amp;ie=UTF-8&amp;u=http%3A%2F%2Fwww.cmsmadesimple.fr%2Fforum%2Fviewtopic.php%3Fid%3D4439&amp;edit-text=" rel="nofollow">https://translate.google.com/translate? … edit-text=</a></p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Tue, 10 Jan 2017 10:18:01 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39873#p39873</guid>
		</item>
		<item>
			<title><![CDATA[[GELÖST] Multidimensionale arrays in foreach Schleife sortieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39871#p39871</link>
			<description><![CDATA[<p><strong>Hey,</strong></p><p>ich habe folgenden Array:</p><div class="codebox"><pre class="vscroll"><code>$users (array) = [
   [0] (array) = [
      .id (string) = 5
      .username (string) = zzz@zmail.com
      .createdate (string) = 2016-12-07 20:11:32
      .expires (string) = 2037-04-07 00:00:00
      .nonstd (string) = 0
      .disabled (string) = 0
      .salt (string) = 0dc07c6a7dfcb9fd631931367989fce4
      .force_newpw (string) = 0
      .force_chsettings (string) = 0
      .must_validate (string) = 0
      .detail_url (string) = http://www.zzzde/users/5/3/zzzzmail.com
      .groups (array) = [
         .0 (string) = 1
         .1 (string) = 2
      ]
     
        ....


      .properties (array) = [
         .anrede (string) = Herr
         .firmenname (string) = Holzwein
         .land (string) = Deutschland
         .nachname (string) = dref
         .ort (string) = ad
         .postleitzahl (string) = ad
          .vorname (string) = ZZZ
]
   ]</code></pre></div><p>diesen würde ich nun gerne nach der property $users.properties.firmenname in einer foreach Schleife sortieren. Der array $users existiert, wie konvertiere ich das am Besten, mit einem UDT ? </p><p><strong>MfG</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (pWorker)]]></author>
			<pubDate>Mon, 09 Jan 2017 23:30:05 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=39871#p39871</guid>
		</item>
	</channel>
</rss>
