PHP Class Exif

Afficher le fichier Open project: getkirby/toolkit Class Usage Examples

Protected Properties

Свойство Type Description
$aperture the aperture value
$camera the camera object with model and make
$data the raw exif array
$exposure the exposure value
$focalLength focal length
$isColor color or black/white
$iso iso value
$location the location object
$media the parent media object
$timestamp the timestamp

Méthodes publiques

Méthode Description
__construct ( Media $media ) Constructor
__debuginfo ( ) : array Improved var_dump() output
aperture ( ) : string Returns the aperture
camera ( ) : object Returns the Camera object
data ( ) : array Returns the raw data array from the parser
exposure ( ) : string Returns the exposure
focalLength ( ) : string Returns the focal length
isBW ( ) : boolean Checks if this is a bw picture
isColor ( ) : boolean Checks if this is a color picture
iso ( ) : integer Returns the iso value
location ( ) : object Returns the location object
timestamp ( ) : string Returns the timestamp
toArray ( ) : array Converts the object into a nicely readable array

Méthodes protégées

Méthode Description
parse ( ) Pareses and stores all relevant exif data

Method Details

__construct() public méthode

Constructor
public __construct ( Media $media )
$media Media

__debuginfo() public méthode

Improved var_dump() output
public __debuginfo ( ) : array
Résultat array

aperture() public méthode

Returns the aperture
public aperture ( ) : string
Résultat string

camera() public méthode

Returns the Camera object
public camera ( ) : object
Résultat object KirbyExifCamera

data() public méthode

Returns the raw data array from the parser
public data ( ) : array
Résultat array

exposure() public méthode

Returns the exposure
public exposure ( ) : string
Résultat string

focalLength() public méthode

Returns the focal length
public focalLength ( ) : string
Résultat string

isBW() public méthode

Checks if this is a bw picture
public isBW ( ) : boolean
Résultat boolean

isColor() public méthode

Checks if this is a color picture
public isColor ( ) : boolean
Résultat boolean

iso() public méthode

Returns the iso value
public iso ( ) : integer
Résultat integer

location() public méthode

Returns the location object
public location ( ) : object
Résultat object ExifLocation

parse() protected méthode

Pareses and stores all relevant exif data
protected parse ( )

timestamp() public méthode

Returns the timestamp
public timestamp ( ) : string
Résultat string

toArray() public méthode

Converts the object into a nicely readable array
public toArray ( ) : array
Résultat array

Property Details

$aperture protected_oe property

the aperture value
protected $aperture

$camera protected_oe property

the camera object with model and make
protected $camera

$data protected_oe property

the raw exif array
protected $data

$exposure protected_oe property

the exposure value
protected $exposure

$focalLength protected_oe property

focal length
protected $focalLength

$isColor protected_oe property

color or black/white
protected $isColor

$iso protected_oe property

iso value
protected $iso

$location protected_oe property

the location object
protected $location

$media protected_oe property

the parent media object
protected $media

$timestamp protected_oe property

the timestamp
protected $timestamp