PHP Класс Exif

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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

Защищенные методы

Метод Описание
parse ( ) Pareses and stores all relevant exif data

Описание методов

__construct() публичный Метод

Constructor
public __construct ( Media $media )
$media Media

__debuginfo() публичный Метод

Improved var_dump() output
public __debuginfo ( ) : array
Результат array

aperture() публичный Метод

Returns the aperture
public aperture ( ) : string
Результат string

camera() публичный Метод

Returns the Camera object
public camera ( ) : object
Результат object KirbyExifCamera

data() публичный Метод

Returns the raw data array from the parser
public data ( ) : array
Результат array

exposure() публичный Метод

Returns the exposure
public exposure ( ) : string
Результат string

focalLength() публичный Метод

Returns the focal length
public focalLength ( ) : string
Результат string

isBW() публичный Метод

Checks if this is a bw picture
public isBW ( ) : boolean
Результат boolean

isColor() публичный Метод

Checks if this is a color picture
public isColor ( ) : boolean
Результат boolean

iso() публичный Метод

Returns the iso value
public iso ( ) : integer
Результат integer

location() публичный Метод

Returns the location object
public location ( ) : object
Результат object ExifLocation

parse() защищенный Метод

Pareses and stores all relevant exif data
protected parse ( )

timestamp() публичный Метод

Returns the timestamp
public timestamp ( ) : string
Результат string

toArray() публичный Метод

Converts the object into a nicely readable array
public toArray ( ) : array
Результат array

Описание свойств

$aperture защищенное свойство

the aperture value
protected $aperture

$camera защищенное свойство

the camera object with model and make
protected $camera

$data защищенное свойство

the raw exif array
protected $data

$exposure защищенное свойство

the exposure value
protected $exposure

$focalLength защищенное свойство

focal length
protected $focalLength

$isColor защищенное свойство

color or black/white
protected $isColor

$iso защищенное свойство

iso value
protected $iso

$location защищенное свойство

the location object
protected $location

$media защищенное свойство

the parent media object
protected $media

$timestamp защищенное свойство

the timestamp
protected $timestamp