ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
ExifEngine.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\ResourceStorage\Flavour\Engine
;
22
26
class
ExifEngine
implements
Engine
27
{
28
use
PHPMemoryLimit
;
29
30
public
function
__construct
()
31
{
32
}
33
34
public
function
supports
(
string
$suffix): bool
35
{
36
return
true
;
37
}
38
39
public
function
isRunning
(): bool
40
{
41
return
extension_loaded(
'exif'
);
42
}
43
44
public
function
read
(
string
$file_path): array
45
{
46
try
{
47
$exif = exif_read_data($file_path);
48
if
($exif ===
false
) {
49
return
[];
50
}
51
return
$exif;
52
}
catch
(\
Throwable
$e
) {
53
return
[];
54
}
55
}
56
57
}
Vendor\Package\$e
$e
Definition:
example_cleaned.php:49
ILIAS\ResourceStorage\Flavour\Engine\ExifEngine\isRunning
isRunning()
Definition:
ExifEngine.php:39
ILIAS\ResourceStorage\Flavour\Engine\ExifEngine
Definition:
ExifEngine.php:26
ILIAS\ResourceStorage\Flavour\Engine\ExifEngine\supports
supports(string $suffix)
Definition:
ExifEngine.php:34
ILIAS\ResourceStorage\Flavour\Engine
Definition:
DefaultEngines.php:21
PHPMemoryLimit
ILIAS\ResourceStorage\Flavour\Engine\ExifEngine\read
read(string $file_path)
Definition:
ExifEngine.php:44
ILIAS\ResourceStorage\Flavour\Engine\Engine
Definition:
Engine.php:26
ILIAS\ResourceStorage\Flavour\Engine\ExifEngine\__construct
__construct()
Definition:
ExifEngine.php:30
Throwable
components
ILIAS
ResourceStorage
src
Flavour
Engine
ExifEngine.php
Generated on Sat Apr 5 2025 23:03:53 for ILIAS by
1.8.13 (using
Doxyfile
)