From aafa33776811610f8c63f63ed6ee35e5dbd110e3 Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Fri, 10 May 2013 13:10:27 +0300 Subject: [PATCH] explicit abstract Form class --- ipf/form.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ipf/form.php b/ipf/form.php index 3d4e93d..3df7f72 100644 --- a/ipf/form.php +++ b/ipf/form.php @@ -1,6 +1,6 @@ f = new IPF_Form_FieldProxy($this); } - function initFields($extra=array()) - { - throw new IPF_Exception('Definition of the fields not implemented.'); - } + abstract protected function initFields($extra=array()); function addPrefix($field_name) { -- 2.49.0