method text documentation in bbn\Appui\Option

Returns an option's text


X::dump($opt->text(12)); // (string) BBN's own IDE X::dump($opt->text('bbn_ide')); // (string) BBN's own IDE function($code = NULL) { if (bbn\Str::isUid($id = $this->fromCode(\func_get_args()))) { return $this->db->selectOne( $this->class_cfg['table'], $this->fields['text'], [ $this->fields['id'] => $id ] ); } return null; }

Returns an option's text 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.