APICHANGE: removed deprecated fieldExists() function. Use hasField() instead

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93633 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Will Rossiter 2009-11-26 20:48:36 +00:00
parent e0f1fa8c3a
commit f50066cddd

View File

@ -2321,16 +2321,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
return $val;
}
/**
* @deprecated 2.3 (For external use) Please use hasField(), hasDatabaseField(), hasOwnTableDatabaseField() instead
*
* @param string $field Name of the field
* @return string The field type of the given field
*/
public function fieldExists($field) {
return $this->hasOwnTableDatabaseField($field);
}
/**
* Return the DBField object that represents the given field.
* This works similarly to obj() with 2 key differences: