mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Code formatting cleanup in File->getAbsoluteSize()
MINOR phpDoc comments for File->getAbsoluteSize() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66630 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
53cef6b435
commit
ed3ac6924f
@ -523,7 +523,8 @@ class File extends DataObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* returns the size in bytes with no extensions for calculations.
|
* Return file size in bytes.
|
||||||
|
* @return int
|
||||||
*/
|
*/
|
||||||
function getAbsoluteSize(){
|
function getAbsoluteSize(){
|
||||||
if(file_exists($this->getFullPath())) {
|
if(file_exists($this->getFullPath())) {
|
||||||
@ -534,7 +535,6 @@ class File extends DataObject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Select clause for DataObject::get('File') operations/
|
* Select clause for DataObject::get('File') operations/
|
||||||
* Stores an array, suitable for a {@link SQLQuery} object.
|
* Stores an array, suitable for a {@link SQLQuery} object.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user