method updateAccount documentation in bbn\User\Email
function(string $id_account, array $cfg)
{
if (X::hasProps($cfg, ['login', 'pass', 'type'], true)
&& ($acc = $this->getAccount($id_account))
&& ($this->pref->setCfg(
$id_account,
[
'host' => $cfg['host'] ?? null,
'login' => $cfg['login'],
'type' => $cfg['type'],
'port' => $cfg['port'] ?? null,
'ssl' => $cfg['ssl'] ?? true,
'last_uid' => $cfg['last_uid'] ?? null,
'last_check' => $cfg['last_check'] ?? null
]
))
) {
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