public function getEntryList(array $list, $trusted)
    {
        $flatten = array();
        $this->flattenArray($list, $flatten);
        $entries = array();
        foreach ($flatten as $elm) {
            $entry = $this->getEntry($elm);
            if ($entry) {
                $entries[] = $entry;
            }
        }
        return new EntryList($entries, $trusted);
    }
public function getEntryList(array $list, $trusted)
    {
        $flatten = array();
        $this->flattenArray($list, $flatten);
        $entries = array();
        foreach ($flatten as $elm) {
            $entry = $this->getEntry($elm);
            if ($entry) {
                $entries[] = $entry;
            }
        }
        return new EntryList($entries, $trusted);
    }
public function getEntryList ( array $ list , $ trusted ) { $ flatten = array ( ) ; $ this -> flattenArray ( $ list , $ flatten ) ; $ entries = array ( ) ; foreach ( $ flatten as $ elm ) { $ entry = $ this -> getEntry ( $ elm ) ; if ( $ entry ) { $ entries [ ] = $ entry ; } } return new EntryList ( $ entries , $ trusted ) ; }
Get an entry list

@param array $list    List of entries
@param bool  $trusted Is list trusted?

@return EntryList
Get an entry list