changed PureName() to Name() (see r40757)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@43669 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-10-22 19:56:26 +00:00
parent ac60800802
commit 74f154fcda
2 changed files with 5 additions and 2 deletions

View File

@ -317,7 +317,10 @@ class Form extends ViewableData {
return $this->class . '_' . str_replace('.','',$this->name); return $this->class . '_' . str_replace('.','',$this->name);
} }
function PureName(){ /**
* @return string
*/
function Name(){
return $this->name; return $this->name;
} }

View File

@ -503,7 +503,7 @@ class TableField extends TableListField {
// TODO doesn't automatically update validation when adding a row // TODO doesn't automatically update validation when adding a row
foreach($fields as $field) { foreach($fields as $field) {
//if the field type has some special specific specification for validation of itself //if the field type has some special specific specification for validation of itself
$js .= $field->jsValidation($this->form->class."_".$this->form->PureName()); $js .= $field->jsValidation($this->form->class."_".$this->form->Name());
} }
// TODO Implement custom requiredFields // TODO Implement custom requiredFields