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