method relations documentation in bbn\Entities\People
function($id)
{
if ($this->get_info($id)) {
return $this->db->selectAllByKeys(
[
'tables' => ['apst_liens'],
'fields' => ['bbn_people.id', 'id_adherent'],
'join' => [[
'table' => 'bbn_people',
'on' => [
'conditions' => [[
'field' => 'apst_liens.id_tiers',
'exp' => 'bbn_people.id'
]]
]]
],
'where' => ['id_tiers' => $id]
]
);
}
return false;
}
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