method getAliasItems documentation in bbn\Appui\Option
function($code = NULL)
{
if (bbn\Str::isUid($id = $this->fromCode(\func_get_args()))) {
if ($res = $this->cacheGet($id, __FUNCTION__)) {
return $res;
}
$cf = $this->getClassCfg();
$f = $this->getFields();
$res = $this->db->getColumnValues(
$cf['table'],
$f['id'],
[$f['id_alias'] => $id]
);
$this->cacheSet($id, __FUNCTION__, $res);
return $res;
}
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