mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Misc deprecation notes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64400 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e9a2e5d464
commit
049ab468e3
@ -361,7 +361,7 @@ class ViewableData extends Object implements IteratorAggregate {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the value (non-object) version of the given field/method.
|
* Return the value (non-object) version of the given field/method.
|
||||||
* @deprecated
|
* @deprecated ViewableData->val() is deprecated, use XML_val() instead
|
||||||
*/
|
*/
|
||||||
public function val($fieldName, $args = null) {
|
public function val($fieldName, $args = null) {
|
||||||
return $this->XML_val($fieldName, $args);
|
return $this->XML_val($fieldName, $args);
|
||||||
|
@ -391,14 +391,14 @@ class Image extends File {
|
|||||||
// ###################
|
// ###################
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated
|
* @deprecated Use getTag() instead
|
||||||
*/
|
*/
|
||||||
function Tag() {
|
function Tag() {
|
||||||
return $this->getTag();
|
return $this->getTag();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated
|
* @deprecated Use getURL() instead
|
||||||
*/
|
*/
|
||||||
function URL() {
|
function URL() {
|
||||||
return $this->getURL();
|
return $this->getURL();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user