method renameFolder documentation in bbn\User\Email

function(string $id, string $name, string $id_account, string $id_parent = NULL) { $mb = $this->getMailbox($id_account); $uid_parent = ""; if ($id_parent) { $uid_parent = $this->getFolder($id_parent)['uid']; } $mboxName = $id_parent ? $uid_parent . '.' . $name : $name; if ($mb && $mb->renameMbox($this->getFolder($id)['uid'], $mboxName)) { if ($this->renameFolderDb($id, $name, $id_account, $id_parent)) { 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.