예제 #1
0
 public function classesnetworkcount($uid, $page = 0, $resultsperpage = 20)
 {
     $resultstart = $page * $resultsperpage;
     $friendslist = Relationship::network_classes($uid, $resultstart, $resultsperpage);
     if ($friendslist[0] < 1) {
         return 0;
     }
     $totforreturn = count($friendslist);
     return $totforreturn;
 }