public function getListIndividualInfos($array)
{
$list = new \geneweb\api\object\ListReferencePersons();
foreach ($array as $a) {
$rp = new \geneweb\api\object\ReferencePerson();
$rp->setN((string) $a['n']);
$rp->setP((string) $a['p']);
$rp->setOc((int) $a['oc']);
if ((int) $a['oc'] >= 0) {
$list->addListRefPersons($rp);
}
}
return $this->request("LIST_PERSONS", $list, $this->getClassname('ListPersons'));
}