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