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