Exemplo n.º 1
0
 public function populate(array $values)
 {
     if (array_key_exists('cat2', $values) && !empty($values['cat2'])) {
         $this->cat3->setMultiOptions($this->_business->getCat3Array($values['cat2'], false));
     }
     // Call the father's render function.
     return parent::populate($values);
 }