method keyId documentation in bbn\Appui\Database

Returns the ID of a key in the given table.

function(string $key, string $table, string $db = '') { $res = null; if (bbn\Str::isUid($key)) { $res = $this->o->fromCode($key, $table); } elseif (Str::isUid($table) && ($tmp = $this->o->fromCode($key, 'keys', $table))) { $res = $tmp; } elseif (Str::isUid($db) && ($tmp = $this->o->fromCode($key, 'keys', $table, 'tables', $db))) { $res = $tmp; } return $res; }

Returns the ID of a key in the given table. 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.