method add documentation in bbn\Appui\Tag

Adds a new tag.

function(string $tag, string $lang = NULL, string $description = '') { $table = $this->class_cfg['table']; $cf = $this->class_cfg['arch']['tags']; if ($this->db->insertIgnore( $table, [ $cf['tag'] => $tag, $cf['lang'] => $lang ?: $this->lang, $cf['description'] => $description ] )) { return $this->db->lastId(); } return null; }

Adds a new tag. 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.