public function getRealAuthor($author)
    {
        if ($this->isAuthorIgnored($author)) {
            return null;
        }

        if ($this->isAlias($author)) {
            $author = $this->mapping[$this->arrayKey($author)];
        }

        if ($this->isAuthorIgnored($author)) {
            return null;
        }

        return $author;
    }
public function getRealAuthor($author)
    {
        if ($this->isAuthorIgnored($author)) {
            return null;
        }

        if ($this->isAlias($author)) {
            $author = $this->mapping[$this->arrayKey($author)];
        }

        if ($this->isAuthorIgnored($author)) {
            return null;
        }

        return $author;
    }
public function getRealAuthor ( $ author ) { if ( $ this -> isAuthorIgnored ( $ author ) ) { return null ; } if ( $ this -> isAlias ( $ author ) ) { $ author = $ this -> mapping [ $ this -> arrayKey ( $ author ) ] ; } if ( $ this -> isAuthorIgnored ( $ author ) ) { return null ; } return $ author ; }
Translate an author alias to the real name but return null if the author shall be ignored.

@param string $author The author to translate.

@return string|null
Translate an author alias to the real name but return null if the author shall be ignored .