method deleteCachedModel documentation in bbn\Mvc\Controller

This will delete the cached model. There is no order for the arguments.

function() { $args = \func_get_args(); foreach ($args as $a) { if (\is_string($a) && \strlen($a)) { $path = $a; } elseif (\is_array($a)) { $data = $a; } } if (!isset($path)) { $path = $this->_path; } elseif (strpos($path, './') === 0) { $path = $this->getCurrentDir() . substr($path, 1); } if (!isset($data)) { $data = $this->data; } $this->_mvc->deleteCachedModel($path, $data, $this); }

This will delete the cached 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.