added checks if the several functions in an extension are implemented

This commit is contained in:
Ralf Becker 2002-09-29 22:24:33 +00:00
parent 2dcb0ace3c
commit b81315af45

View File

@ -369,7 +369,7 @@
}
$extra_label = True;
if (!$this->types[$cell['type']] && $this->haveExtension($cell['type']))
if (!$this->types[$cell['type']] && $this->haveExtension($cell['type'],'pre_process'))
{
$type = $cell['type'];
$extra_label = $this->extensionPreProcess($cell,$value,$readonlys[$name]);
@ -590,7 +590,7 @@
"enctype=\"multipart/form-data\" onSubmit=\"set_element2(this,'$path','$form_name')\"";
break;
default:
if ($this->haveExtension($cell['type']))
if ($this->haveExtension($cell['type'],'render'))
{
$html .= $this->extensionRender($cell,$form_name,$value,$readonly);
}