Exemplo n.º 1
0
 /**
  * Return model field name for a provided form field name
  *
  * @param string $name Name of form field
  *
  * @return string
  */
 protected function getModelFieldName($name)
 {
     return preg_replace('/^([^_]*_)(.*)$/', '\\2', parent::getModelFieldName($name));
 }