mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE: Deprecated FormField->Name() in favour of FormField->getName().
This commit is contained in:
parent
c954ae5aaa
commit
16a016b9dc
@ -119,10 +119,17 @@ class FormField extends RequestHandler {
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function Name() {
|
||||
function getName() {
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated 3.0 Use {@link getName()}.
|
||||
*/
|
||||
public function Name() {
|
||||
return $this->getName();
|
||||
}
|
||||
|
||||
function attrName() {
|
||||
return $this->name;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user