method routeCustomPlugin documentation in bbn\Mvc\Router

function(string $path, string $mode, string $plugin) { if ($root = $this->_get_custom_root($mode, $plugin)) { 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' => $plugin, 'mode' => $mode, 'i18n' => $t === 'js' ? $this->_find_translation($plugin ?? null) : null, ], true ); } } 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.