method routeSubplugin documentation in bbn\Mvc\Router
function(string $path, string $mode, string $pluginName, string $subplugin)
{
if ($root = $this->_get_subplugin_root($mode, $pluginName, $subplugin)) {
foreach (self::$_filetypes[$mode] as $t) {
if (is_file($root . $path . '.' . $t)) {
$file = $root . $path . '.' . $t;
break;
}
}
if (!empty($file)) {
return $this->_set_known(
[
'file' => $file,
'path' => $path,
'ext' => $t,
'plugin' => $this->pluginPath($pluginName),
'plugin_name' => $pluginName,
'mode' => $mode,
'i18n' => $t === 'js' ? $this->_find_translation($plugin ?? null) : null,
], false
);
}
}
return 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.
© 2011-2025
BBN Solutions