Exemplo n.º 1
0
 private function _getPostFuidList($uid, $page, $pageSize, $sortType, $longitude, $latitude, $radius)
 {
     switch ($sortType) {
         case 'default':
             return DzCommonUserList::_getPostFuidListByDefault($uid, $page, $pageSize);
             break;
         case 'regdate':
             return DzCommonUserList::_getPostFuidListByRegist($uid, $page, $pageSize);
             break;
         case 'lastvisit':
             return DzCommonUserList::_getPostFuidListByLastVisit($uid, $page, $pageSize);
             break;
         case 'follower':
             return DzCommonUserList::_getPostFuidListByFollower($uid, $page, $pageSize);
             break;
         case 'range':
             return DzCommonUserList::_getPostFuidListByRange($uid, $page, $pageSize, $longitude, $latitude, $radius);
             break;
         case 'at':
             return DzCommonUserList::_getPostFuidListByAT($uid);
             break;
         default:
             break;
     }
 }