method deleteUrl documentation in bbn\Appui\Note
Deletes url for the given note.
function(string $id_item)
{
$this->checkUrlCfg();
$id_url = $this->db->selectOne(
$this->urlTable,
$this->urlFields['id_url'],
[$this->class_cfg['urlItemField'] => $id_item]
);
if ($id_url) {
$this->db->delete(
$this->urlTable,
[$this->class_cfg['urlItemField'] => $id_item]
);
return (bool)$this->url->delete($id_url);
}
throw new Exception(X::_("Impossible to retrieve the URL for item %s", $id_item));
}
Deletes url for the given note. 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-2025
BBN Solutions