protected function createComponentCustomerForm() { $c = $this->cff->create(); $c->onSuccess[] = function ($values) { print "<pre>"; print_r($values); print "</pre>"; }; return $c; }
protected function createComponentOrderForm() { $c = $this->off->create(); $c->onSuccess[] = function () { $this->redirect('ShoppingCart:success'); }; return $c; }