method get documentation in bbn\Mvc\Model
function(array $data = NULL)
{
if (\is_null($data)) {
$data = [];
}
$this->data = $data;
if ($this->_plugin) {
$router = Router::getInstance();
if ($textDomain = $router->getLocaleDomain($this->_plugin_name)) {
$oldTextDomain = textdomain(null);
if ($textDomain !== $oldTextDomain) {
textdomain($textDomain);
}
else {
unset($oldTextDomain);
}
}
}
$res = Mvc::includeModel($this->_file, $this);
if (!empty($oldTextDomain)) {
textdomain($oldTextDomain);
}
return $res ?: 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.
© 2011-2025
BBN Solutions