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