method reset documentation in bbn\Mvc\Controller

function(array $info, $data = false) { if (isset($info['mode'], $info['path'], $info['file'], $info['request'], $info['root'])) { $this->_path = $info['path']; $this->_plugin = $info['plugin']; $this->_request = $this->getRequest(); $this->_file = $info['file']; $this->_root = $info['root']; $this->arguments = $info['args']; $this->_checkers = $info['checkers']; $this->_plugin = $info['plugin']; $this->_plugin_name = $info['plugin_name']; $this->mode = $info['mode']; $this->data = \is_array($data) ? $data : []; // When using CLI a first parameter can be used as route, // a second JSON encoded can be used as $this->post /** @var bbn\Db db */ $this->db = $this->_mvc->getDb(); $this->inc = &$this->_mvc->inc; $this->post = $this->_mvc->getPost(); $this->get = $this->_mvc->getGet(); $this->files = $this->_mvc->getFiles(); $this->params = $this->_mvc->getParams(); $this->url = $this->getUrl(); $this->obj = new \stdClass(); } }

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.