method setText documentation in bbn\Appui\Option

Sets the text of an option


X::dump($opt->setText(26, "Hello world!")); // (int) 1 function($id, string $text) { $res = null; if ($this->check()) { $res = $this->db->updateIgnore( $this->class_cfg['table'], [ $this->fields['text'] => $text ], [ $this->fields['id'] => $id ] ); if ($res) { $this->deleteCache($id); } } return $res; }

Sets the text of an option BBN is a suite of PHP and JS libraries and VueJS components - all open-source!, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.