method rawOption documentation in bbn\Appui\Option

Returns an option's row as stored in its original form in the database, including cfg

Example

X::dump($opt->rawOption('database', 'appui')); /* array [ 'id' => "77cea323f0ce11e897fd525400007196", 'code' => "bbn_ide", 'text' => "BBN's own IDE", 'cfg' => null, 'id_alias' => null, 'value' => "{\"num\":1}" ] function($code = NULL) { if (bbn\Str::isUid($id = $this->fromCode(\func_get_args()))) { return $this->db->rselect($this->class_cfg['table'], [], [$this->fields['id'] => $id]); } return null; }

Returns an option's row as stored in its original form in the database, including cfg 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.