method clone documentation in bbn\Appui\Menu

Clones a menu

function(string $id, string $name) { if (Str::isUid($id) && ($id_menu = $this->add(['text' => $name]))) { if (($bits = $this->pref->getFullBits($id)) && !$this->_clone($id_menu, $bits)) { return null; } return $id_menu; } return null; }

Clones a menu BBN is a suite of PHP and JS libraries and VueJS components - all open-source!, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.