method exists documentation in bbn\Models\Tts\Dbconfig
function($filter)
{
if (!$this->class_table_index) {
throw new Exception(X::_("The table index parameter should be defined"));
}
$f = $this->class_cfg['arch'][$this->class_table_index];
if (is_string($filter)) {
$cfg = [$f['id'] => $filter];
}
elseif (is_array($filter)) {
$cfg = $filter;
}
if (!empty($cfg) && $arr = $this->db->count(
$this->class_table,
$cfg
)) {
return true;
}
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