[Form] Fixed calls to ThemeRenderer::renderPart()

This commit is contained in:
Bernhard Schussek 2011-03-28 11:22:27 +02:00
parent 0fb95c18ad
commit e7df781c34

View File

@ -124,24 +124,24 @@ class ThemeRenderer implements ThemeRendererInterface, \ArrayAccess, \IteratorAg
{
$this->rendered = true;
return $this->render('widget', $vars);
return $this->renderPart('widget', $vars);
}
public function getErrors(array $vars = array())
{
return $this->render('errors', $vars);
return $this->renderPart('errors', $vars);
}
public function getRow(array $vars = array())
{
$this->rendered = true;
return $this->render('row', $vars);
return $this->renderPart('row', $vars);
}
public function getRest(array $vars = array())
{
return $this->render('rest', $vars);
return $this->renderPart('rest', $vars);
}
/**
@ -156,12 +156,12 @@ class ThemeRenderer implements ThemeRendererInterface, \ArrayAccess, \IteratorAg
$vars['label'] = $label;
}
return $this->render('label', $vars);
return $this->renderPart('label', $vars);
}
public function getEnctype()
{
return $this->render('enctype', $this->vars);
return $this->renderPart('enctype', $this->vars);
}
protected function renderPart($part, array $vars = array())