method insertOrUpdateUrl documentation in bbn\Appui\Note
Insert the given url to the note if has no url and update it otherwise.
function(string $id_note, string $url)
{
if (!$this->exists($id_note)) {
throw new \Exception(
X::_(
"Impossible to retrieve the note with ID %s",
Str::isUid($id_note) ? $id_note : '[String (' . strlen($id_note) . ')]'
)
);
}
return $this->setUrl($id_note, $url);
}
Insert the given url to the note if has no url and update it otherwise. 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