mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE Removed FormField->setExtraClass(), use FormField->addExtraClass()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64379 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0199294864
commit
c67d1b6425
@ -537,17 +537,5 @@ HTML;
|
|||||||
else user_error("rootFieldSet() called on $this->class object without a containerFieldSet", E_USER_ERROR);
|
else user_error("rootFieldSet() called on $this->class object without a containerFieldSet", E_USER_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ###################
|
|
||||||
// DEPRECATED
|
|
||||||
// ###################
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated please use addExtraClass
|
|
||||||
*/
|
|
||||||
function setExtraClass($extraClass) {
|
|
||||||
user_error('FormField::setExtraClass() is deprecated. Use FormField::addExtraClass() instead.', E_USER_NOTICE);
|
|
||||||
$this->extraClasses[] = $extraClass;
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
?>
|
Loading…
Reference in New Issue
Block a user