Permalink
Browse files

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

… LabelField
  • Loading branch information...
1 parent 454023c commit 18fb465c510b60869e6278de79411a3674b3125e @halkyon halkyon committed Mar 16, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 forms/LabelField.php
View
@@ -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();

0 comments on commit 18fb465

Please sign in to comment.