method optionNoAlias documentation in bbn\Appui\Option
Returns an option's full content as an array without its values changed by id_alias
Example
X::dump($opt->optionNoAlias(25));
X::dump($opt->optionNoAlias('bbn_ide'));
X::dump($opt->optionNoAlias('TEST', 58));
X::dump($opt->optionNoAlias('test3', 'users', 'bbn_ide'));
/* Each would return an array of this form
array [
'id' => 31,
'code' => "bbn_ide",
'text' => "This is BBN's IDE",
'id_alias' => 16,
'myIntProperty' => 56854,
'myTextProperty' => "Hello\nWorld
",
'myArrayProperty' => ['value1' => 1, 'value2' => 2]
]
function($code = NULL)
{
if (bbn\Str::isUid($id = $this->fromCode(\func_get_args()))
&& ($opt = $this->nativeOption($id))
) {
$this->_set_value($opt);
return $opt;
}
return null;
}
Returns an option's full content as an array without its values changed by id_alias 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-2024
BBN Solutions