method getModel documentation in bbn\Mvc
This will get the model; there is no order for the arguments.
function($path, array $data, bbn\Mvc\Controller $ctrl)
{
if (($path = Router::parse($path)) && ($route = $this->router->route($path, 'model'))) {
$model = new Model($this->db, $route, $ctrl, $this);
return $model->get($data);
}
return [];
}
This will get the model; there is no order for the arguments. 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