method action documentation in bbn\Mvc\Controller

Merges post data and result array witt the current data

and gets the model then sets the output object.

function() { $res = [ 'res' => [ 'success' => false ] ]; $tmp = $this->addData($res) ->addData($this->post) ->getModel(); if (!$tmp) { $tmp = $res; } $this->obj = X::toObject($tmp); }

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.