method full_search documentation in bbn\Entities\People
function($p, int $start = 0, int $limit = 0)
{
$r = [];
$res = \bbn\Str::isUid($p) ? [$p] : $this->seek($p, $start, $limit);
if ($res) {
}
foreach ($res as $i => $id){
$relations = $this->db->getColumnValues(
[
'tables' => ['apst_liens'],
'fields' => ['apst_adherents.nom'],
'join' => [[
'table' => 'bbn_people',
'on' => [[
'field' => 'apst_liens.id_tiers',
'exp' => 'bbn_people.id'
]]
], [
'table' => 'apst_adherents',
'on' => [[
'field' => 'apst_liens.id_adherent',
'exp' => 'apst_adherents.id'
]]
]],
'where' => [
'id_tiers' => $id
]
]
);
$r[$i] = $this->get_info($id);
$r[$i]['relations'] = implode($relations, ', ');
}
return $r;
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions