예제 #1
0
 public function getPIDGroups()
 {
     $this->requireProfiles();
     $this->buildQuery();
     $token = $this->grouper->getGroupToken($this);
     $groups = XDB::rawFetchAllRow('SELECT ' . $token . ', COUNT(p.pid)
                                   ' . $this->query . '
                                   GROUP BY  ' . $token, 0);
     return $groups;
 }