mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE: Removed val(). Use XML_val() instead.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@93650 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2ff4631c1f
commit
61a30f9d3a
@ -752,17 +752,6 @@ class ViewableData extends Object implements IteratorAggregate {
|
||||
public function Top() {
|
||||
return SSViewer::topLevel();
|
||||
}
|
||||
|
||||
// DEPRECATED ------------------------------------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* @deprecated 2.3 use {@link ViewableData::XML_val()}
|
||||
* @todo this cannot throw an error yet, as alot of core classes still use it
|
||||
*/
|
||||
public function val($field, $arguments = null) {
|
||||
return $this->XML_val($field, $arguments);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user