method copy documentation in bbn\Appui\Note
function(string $id, int $version = NULL, bool $private = NULL)
{
if ($note = $this->getFull($id, $version)) {
if ($private === null) {
$private = $note['private'];
}
$id_note = $this->insert($note['title'], $note['content'], $note['type'], $private);
foreach ($note['medias'] as $m) {
$this->addMediaToNote($m['id'], $id, $note['version']);
}
return $id_note;
}
return null;
}
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