Horde_Vcs_Directory_Base::_fileAuthorSort PHP Метод

_fileAuthorSort() публичный Метод

Sort function by author name.
public _fileAuthorSort ( $a, $b )
    public function _fileAuthorSort($a, $b)
    {
        $aa = $a->getLastLog();
        $bb = $b->getLastLog();
        return $aa->getAuthor() == $bb->getAuthor() ? 0 : ($aa->getAuthor() > $bb->getAuthor() ? 1 : -1);
    }