From 18fb465c510b60869e6278de79411a3674b3125e Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 17 Mar 2011 12:03:54 +1300 Subject: [PATCH] API CHANGE Removed deprecated $className and $allowHTML parameters to LabelField --- forms/LabelField.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/forms/LabelField.php b/forms/LabelField.php index a9b4acfe1..26e55bcd2 100755 --- a/forms/LabelField.php +++ b/forms/LabelField.php @@ -12,11 +12,9 @@ class LabelField extends DatalessField { /** * @param string $name * @param string $title - * @param string $className (Deprecated: use addExtraClass()) - * @param bool $allowHTML (Deprecated: use setAllowHTML()) * @param Form $form */ - function __construct($name, $title, $className = null, $allowHTML = false, $form = null) { + function __construct($name, $title, $form = null) { // legacy handling for old parameters: $title, $heading, ... // instead of new handling: $name, $title, $heading, ... $args = func_get_args();