MDL-31901 file_info_stored now provides access to the wrapped stored_file's get_imageinfo() method

This commit is contained in:
David Mudrak
2012-05-21 11:57:53 +08:00
committed by Marina Glancy
parent b7725e30c2
commit 0dbf6c88bb
+10
View File
@@ -187,6 +187,16 @@ class file_info_stored extends file_info {
return $this->lf->get_filesize();
}
/**
* Returns width, height and mimetype of the stored image, or false
*
* @see stored_file::get_imageinfo()
* @return array|false
*/
public function get_imageinfo() {
return $this->lf->get_imageinfo();
}
/**
* Returns mimetype
*