API CHANGE Removed deprecated $className and $allowHTML parameters to LabelField

This commit is contained in:
Sean Harvey 2011-03-17 12:03:54 +13:00
parent 454023c666
commit 18fb465c51

View File

@ -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();