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:
Ingo Schommer 2008-10-16 11:03:01 +00:00
parent e9a2e5d464
commit 049ab468e3
2 changed files with 3 additions and 3 deletions

View File

@ -361,7 +361,7 @@ class ViewableData extends Object implements IteratorAggregate {
/**
* 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) {
return $this->XML_val($fieldName, $args);

View File

@ -391,14 +391,14 @@ class Image extends File {
// ###################
/**
* @deprecated
* @deprecated Use getTag() instead
*/
function Tag() {
return $this->getTag();
}
/**
* @deprecated
* @deprecated Use getURL() instead
*/
function URL() {
return $this->getURL();