method getPluginFromComponent documentation in bbn\Mvc\Router

Retrieves the plugin's name from the component's name if any.

function(string $name) { foreach ($this->getPlugins() as $n => $p) { if (X::indexOf($name, $n . '-') === 0) { return $p; } } return null; }

Retrieves the plugin's name from the component's name if any. 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.