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
|
```uml
|
||||||
@startuml
|
@startuml
|
||||||
abstract MimeHelper #Orange {
|
abstract MimeHelper #Orange {
|
||||||
|
# static $fileExtensionToMimeType
|
||||||
|
+ {static} getFileExtensions(string $target = null, boolean $sorted = false) : array
|
||||||
+ {static} extension(string $file) : string
|
+ {static} extension(string $file) : string
|
||||||
+ {static} mimeType(string $file) : string
|
+ {static} mimeType(string $file) : string
|
||||||
# {static} mimeTypeFilename(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
|
note right of MimeHelper::extension
|
||||||
Get the file extension from a full path OR file name.
|
Get the file extension from a full path OR file name.
|
||||||
|
|
||||||
@ -38,12 +46,6 @@ note right of MimeHelper::mimeTypeFilename
|
|||||||
since: 5.0.3
|
since: 5.0.3
|
||||||
return: string
|
return: string
|
||||||
end note
|
end note
|
||||||
|
|
||||||
note right of MimeHelper::getFileExtensions
|
|
||||||
Get the file extensions
|
|
||||||
|
|
||||||
return: array
|
|
||||||
end note
|
|
||||||
|
|
||||||
@enduml
|
@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