method parent documentation in bbn\Appui\Option

Returns the parent's option as {@link option()}

Example

X::hdump($opt->parent(42)); /* array [ 'id' => 25, 'code' => "bbn_ide", 'text' => "This is BBN's IDE", 'myIntProperty' => 56854, 'myTextProperty' => "

Hello\nWorld

", 'myArrayProperty' => ['value1' => 1, 'value2' => 2] ]
function($code = NULL) { if (bbn\Str::isUid($id = $this->fromCode(\func_get_args())) && ($id_parent = $this->getIdParent($id)) ) { return $this->option($id_parent); } return null; }

Returns the parent's option as {@link option()} 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.