Esempio n. 1
0
 public function actionDefault($categoryId)
 {
     if ($categoryId !== NULL) {
         $this->category = $this->categories->getByID($categoryId);
         $this['categoryForm']->setDefaults(array('title' => $this->category->getTitle()));
     }
 }