protected function get_author_ids($newallocations) {
        $authors = array();
        foreach ($newallocations as $newallocation) {
            $authorid = reset($newallocation);
            if (!in_array($authorid, $authors)) {
                $authors[] = $authorid;
            }
        }
        return $authors;
    }
protected function get_author_ids($newallocations) {
        $authors = array();
        foreach ($newallocations as $newallocation) {
            $authorid = reset($newallocation);
            if (!in_array($authorid, $authors)) {
                $authors[] = $authorid;
            }
        }
        return $authors;
    }
protected function get_author_ids ( $ newallocations ) { $ authors = array ( ) ; foreach ( $ newallocations as $ newallocation ) { $ authorid = reset ( $ newallocation ) ; if ( ! in_array ( $ authorid , $ authors ) ) { $ authors [ ] = $ authorid ; } } return $ authors ; }
Extracts unique list of authors' IDs from the structure of new allocations

@param array $newallocations of pairs 'reviewerid' => 'authorid'
@return array of authorids
Extracts unique list of authors IDs from the structure of new allocations