method cachedAction documentation in bbn\Mvc\Controller

Merges post data and result array witt the current data

and gets the model from cache then sets the output object.

function(int $ttl = 60) { $this->obj = X::toObject( $this->addData(['res' => ['success' => false]])->addData($this->post)->getCachedModel('', $this->data, $ttl) ); }

Merges post data and result array witt the current data 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.