Why is my array outputting one row
<p>My $aExtensionObjects print_r fine shows all of the things in the array but $aExtensionName only seems to output one why?</p>

<pre><code>$aExtensionObjects Array:

Array ( [0] =&gt; Extension Object ( [iID:private] =&gt; [sExtensionName:private] =&gt; 2147483647 [db:private] =&gt; MySQLiPluggin Object ( [sqliConnection:private] =&gt; mysqli Object ( ) [Query:private] =&gt; [getResult:private] =&gt; ) [bExisting] =&gt; 1 ) [1] =&gt; Extension Object ( [iID:private] =&gt; [sExtensionName:private] =&gt; 876378990 [db:private] =&gt; MySQLiPluggin Object ( [sqliConnection:private] =&gt; mysqli Object ( ) [Query:private] =&gt; [getResult:private] =&gt; ) [bExisting] =&gt; 1 )) ) Etc..

$aExtensionName Array:

Array ( [] =&gt; 989898 )
</code></pre>

<p>The code [ed: maybe?]</p>

<pre><code>    $manExtensionManager  = new extensionManager(); 

    $aExtensionObjects   = $manExtensionManager-&gt;getallExtensions();

    $aExtensionName      = array();

for($iCount=0; $iCount&lt;count($aExtensionObjects);$iCount++){
    $Extension = $aExtensionObjects[$iCount];
    $aExtensionName[$Extension-&gt;getExtensionID()] = $Extension-&gt;getExtensionName(); 
}
</code></pre>
