ProfileAction::_assignFollowState PHP Method

_assignFollowState() private method

批量获取用户uid与一群人fids的彼此关注状态
private _assignFollowState ( array $fids = null )
$fids array 用户uid数组
    private function _assignFollowState($fids = null)
    {
        // 批量获取与当前登录用户之间的关注状态
        $follow_state = model('Follow')->getFollowStateByFids($this->mid, $fids);
        $this->assign('follow_state', $follow_state);
        // dump($follow_state);exit;
        $union_state = model('Union')->getUnionStateByFids($this->mid, $fids);
        $this->assign('union_state', $union_state);
        // dump($union_state);exit;
    }