forked from joomla/super-powers
Update 2024-09-18 04:20:10
This commit is contained in:
parent
b4fe424113
commit
1d2430e698
@ -12,12 +12,20 @@
|
||||
```uml
|
||||
@startuml
|
||||
abstract MimeHelper #Orange {
|
||||
# static $fileExtensionToMimeType
|
||||
+ {static} getFileExtensions(string $target = null, boolean $sorted = false) : array
|
||||
+ {static} extension(string $file) : string
|
||||
+ {static} mimeType(string $file) : string
|
||||
# {static} mimeTypeFilename(string $file) : string
|
||||
+ {static} getFileExtensions(string $target = null, boolean $sorted = false) : array
|
||||
}
|
||||
|
||||
note right of MimeHelper::getFileExtensions
|
||||
Get the file extensions
|
||||
|
||||
since: 5.0.3
|
||||
return: array
|
||||
end note
|
||||
|
||||
note right of MimeHelper::extension
|
||||
Get the file extension from a full path OR file name.
|
||||
|
||||
@ -38,12 +46,6 @@ note right of MimeHelper::mimeTypeFilename
|
||||
since: 5.0.3
|
||||
return: string
|
||||
end note
|
||||
|
||||
note right of MimeHelper::getFileExtensions
|
||||
Get the file extensions
|
||||
|
||||
return: array
|
||||
end note
|
||||
|
||||
@enduml
|
||||
```
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user