method getCodePath documentation in bbn\Appui\Option

function($id) { $args = func_get_args(); $res = []; while ($o = $this->nativeOption(...$args)) { if ($o[$this->fields['code']]) { $res[] = $o[$this->fields['code']]; if ($o[$this->fields['id_parent']] === $this->default) { break; } $args = [$o[$this->fields['id_parent']]]; } else { return null; } } if (end($res) === 'root') { array_pop($res); } return count($res) ? $res : null; }

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.