Exemplo n.º 1
0
 protected function _makeName($key, $controlName)
 {
     $groupName = $this->_group->getName();
     if ($groupName) {
         $name = sprintf('%s[%s][%s]', $groupName, $controlName, $key);
     } else {
         $name = sprintf('%s[%s]', $controlName, $key);
     }
     return $name;
 }