method hasPermission documentation in bbn\Appui\Option

Checks whether an option has _permissions_ in its parent cfg

Example

X::dump($opt->hasPermission('bbn_ide')); // (bool) true function($code = NULL) { if (bbn\Str::isUid($p = $this->getIdParent(\func_get_args()))) { $cfg = $this->getCfg($p); return !empty($cfg['permissions']); } return null; }

Checks whether an option has _permissions_ in its parent 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.