method getObjectModel documentation in bbn\Mvc\Controller

function() { $args = \func_get_args(); $has_cache = false; foreach ($args as $a) { if (\is_int($a)) { $has_cache = true; break; } } if ($has_cache) { $m = $this->getCachedModel(...$args); } else { $m = $this->getModel(...$args); } if (empty($m)) { return (new \stdClass()); } if (X::isAssoc($m)) { $m = X::toObject($m); } return \is_object($m) ? $m : 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.