method copy documentation in bbn\Appui\Menu
Copies a menu into another one.
function(string $id_menu, string $id_menu_to, array $cfg)
{
if (Str::isUid($id_menu)
&& Str::isUid($id_menu_to)
&& ($bits = $this->pref->getFullBits($id_menu))
&& ($id = $this->add($id_menu_to, $cfg))
&& $this->_clone($id_menu_to, $bits, $id)
) {
return $id;
}
return null;
}
Copies a menu into another one. 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-2023
BBN Solutions