src/Utility/Mime.php
protected static function _getExtension($file) {
		$pieces = explode('.', $file);
		$ext = strtolower(array_pop($pieces));
		return $ext;
	}
protected static function _getExtension($file) {
		$pieces = explode('.', $file);
		$ext = strtolower(array_pop($pieces));
		return $ext;
	}
protected static function _getExtension ( $ file ) { $ pieces = explode ( '.' , $ file ) ; $ ext = strtolower ( array_pop ( $ pieces ) ) ; return $ ext ; }
Gets the file extention from a string

@param string $file The full file name
@return string The file extension
Gets the file extention from a string