method includeModel documentation in bbn\Mvc
function($bbn_inc_file, $model)
{
if (is_file($bbn_inc_file)) {
ob_start();
$d = include $bbn_inc_file;
ob_end_clean();
// Adding support for returning serialized objects
if (is_string($d) && ($obj = @unserialize($d)) && is_object($obj)) {
return $d;
}
if (\is_object($d)) {
$d = X::toArray($d);
}
if (!\is_array($d)) {
return false;
}
return $d;
}
return false;
}
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