method getIdParent documentation in bbn\Appui\Option

Returns the parent option's ID

Example

X::dump($opt->getIdParent(48)); // (int)25 function($code = NULL) { if (bbn\Str::isUid($id = $this->fromCode(\func_get_args())) && ($o = $this->nativeOption($id))) { return $o[$this->fields['id_parent']]; } return null; }

Returns the parent option's ID 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.