function check() { // Register models Ajde_Model::register($this); // Ensure right view when coming from other action $this->setView(Ajde_View::fromRoute('browser/check')); // Get browsers $browsers = new BrowserCollection(); $browsers->orderBy("sort"); $browsers->load(); // Set vars and return $this->getView()->assign("browsers", $browsers); return $this->render(); }