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:
Ingo Schommer 2008-10-16 08:41:34 +00:00
parent 0199294864
commit c67d1b6425

View File

@ -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;
} }
}
?> ?>