method retrieveHost documentation in bbn\Appui\Database

Returns the ID of the current host for the given DB.

function(string $id_db) { if ($this->check() && defined('BBN_DB_USER') && defined('BBN_DB_HOST') && ($connections = $this->o->fullOptions('connections', $id_db)) ) { foreach ($connections as $c) { if ($c['alias']['code'] === BBN_DB_USER.'@'.BBN_DB_HOST) { return $c['alias']['id']; } } } return null; }

Returns the ID of the current host for the given DB. 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.