protected function fieldRulesViewData(FormRuleContext $context) { $fields = array(); foreach ($context->all() as $name => $rules) { $fields[] = array('name' => $name, 'rules' => $rules); } return $fields; }
public function getGroup($view) { $name = FormHelper::getFormName($view); return parent::getGroup($name); }