FEATURE: added after uploading notify method

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@73670 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Saophalkun Ponlu 2009-03-26 01:31:34 +00:00 committed by Sam Minnee
parent e933d61a1c
commit 531c7b1d4d

View File

@ -227,6 +227,13 @@ class File extends DataObject {
return $upload->isError();
}
/**
* Should be called after the file was uploaded
*/
function onAfterUpload() {
$this->extend('onAfterUpload');
}
/**
* Delete the database record (recursively for folders) without touching the filesystem