method renameFolderDb documentation in bbn\User\Email

function(string $id, string $name, string $id_account, string $id_parent = NULL) { $a = [ 'text' => $name, 'uid' => $name, ]; if ($id_parent) { $uid_parent = $this->getFolder($id_parent)['uid']; $a['uid'] = $uid_parent . '.' . $name; $a['id_parent'] = $id_parent; } if ($this->pref->updateBit($id, $a)) { if (!$id_parent) { $this->pref->moveBit($id, null); } $this->mboxes[$id_account]['folders'] = $this->getFolders($this->mboxes[$id_account]); 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.