public function subChannelList(array $filter = array())
  {
    $channels = array();

    foreach($this->getParent()->channelList() as $channel)
    {
      if($channel["pid"] == $this->getId())
      {
        $channels[$channel->getId()] = $channel;
      }
    }

    return $this->filterList($channels, $filter);
  }
public function subChannelList(array $filter = array())
  {
    $channels = array();

    foreach($this->getParent()->channelList() as $channel)
    {
      if($channel["pid"] == $this->getId())
      {
        $channels[$channel->getId()] = $channel;
      }
    }

    return $this->filterList($channels, $filter);
  }
public function subChannelList ( array $ filter = array ( ) ) { $ channels = array ( ) ; foreach ( $ this -> getParent ( ) -> channelList ( ) as $ channel ) { if ( $ channel [ "pid" ] == $ this -> getId ( ) ) { $ channels [ $ channel -> getId ( ) ] = $ channel ; } } return $ this -> filterList ( $ channels , $ filter ) ; }
Returns an array filled with TeamSpeak3_Node_Channel objects.

@param  array $filter
@return array|TeamSpeak3_Node_Channel[]
Returns an array filled with TeamSpeak3_Node_Channel objects .