private function loadAuthorDetails($author)
    {
        if (is_array($author) && is_array(array_values($author)[0])) {
            return $author;
        }

        if (!is_array($author)) {
            $tmp = $author;
            $author = [];
            $author[] = $tmp;
        }

        $authors = [];
        foreach ($author as $acronym) {
            if (isset($this->author[$acronym])) {
                $key = $this->author[$acronym];
                $authors[$acronym] = $this->meta[$key];
            } else {
                $authors[$acronym]["acronym"] = $acronym;
            }
        }

        return $authors;
    }
private function loadAuthorDetails($author)
    {
        if (is_array($author) && is_array(array_values($author)[0])) {
            return $author;
        }

        if (!is_array($author)) {
            $tmp = $author;
            $author = [];
            $author[] = $tmp;
        }

        $authors = [];
        foreach ($author as $acronym) {
            if (isset($this->author[$acronym])) {
                $key = $this->author[$acronym];
                $authors[$acronym] = $this->meta[$key];
            } else {
                $authors[$acronym]["acronym"] = $acronym;
            }
        }

        return $authors;
    }
private function loadAuthorDetails ( $ author ) { if ( is_array ( $ author ) && is_array ( array_values ( $ author ) [ 0 ] ) ) { return $ author ; } if ( ! is_array ( $ author ) ) { $ tmp = $ author ; $ author = [ ] ; $ author [ ] = $ tmp ; } $ authors = [ ] ; foreach ( $ author as $ acronym ) { if ( isset ( $ this -> author [ $ acronym ] ) ) { $ key = $ this -> author [ $ acronym ] ; $ authors [ $ acronym ] = $ this -> meta [ $ key ] ; } else { $ authors [ $ acronym ] [ "acronym" ] = $ acronym ; } } return $ authors ; }
Load details for the author.

@param array|string $author with details on the author(s).

@return array with more details on the authors(s).
Load details for the author .