method get documentation in bbn\Appui\Event
function(string $id)
{
if ( Str::isUid($id) ){
$t =& $this;
return $this->db->rselect([
'table' => $this->class_table,
'fields' => array_map(function($f) use($t){
return $this->db->colFullName($f, $t->class_table);
}, $this->fields),
'join' => [[
'table' => $this->class_cfg['tables']['options'],
'on' => [
'conditions' => [[
'field' => $this->db->colFullName($this->class_cfg['arch']['options']['id'], $this->class_cfg['tables']['options']),
'exp' => $this->fields['id_type']
]]
]
]],
'where' => [
$this->db->colFullName($this->fields['id'], $this->class_table) => $id
]
]);
}
return null;
}
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-2023
BBN Solutions