Beispiel #1
0
 public function indexAction()
 {
     $this->view->product = Products::findFirst();
 }
Beispiel #2
0
 public function indexAction()
 {
     $this->view->setVar('product', Products::findFirst());
 }