method customPluginView documentation in bbn\Mvc

Retrieves a view of a custom plugin.

function(string $path, string $mode, array $data, string $plugin) { if ($plugin && ($route = $this->router->routeCustomPlugin(Router::parse($path), $mode, $plugin))) { $view = new View($route); if ($view->check()) { return \is_array($data) ? $view->get($data) : $view->get(); } return ''; } return null; }

Retrieves a view of a custom plugin. 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.