method get documentation in bbn\Appui\Masks
Gets the content of a mask based on the provided ID
function(string $id, bool $simple = false)
{
if (($mask = $this->db->rselect('bbn_notes_masks', [], ['id_note' => $id]))
&& ($data = $this->notes->get($mask['id_note'], null, $simple))
) {
$data['default'] = $mask['def'];
$data['id_type'] = $mask['id_type'];
$data['type'] = $this->options->text($mask['id_type']);
$data['name'] = $mask['name'];
return $data;
}
return null;
}
Gets the content of a mask based on the provided ID 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