PHP Class Exif\Camera

Author: Bastian Allgeier ([email protected])
Show file Open project: getkirby/toolkit

Protected Properties

Property Type Description
$make
$model

Public Methods

Method Description
__construct ( array $exif ) Constructor
__debuginfo ( ) : array Improved var_dump() output
__toString ( ) : string Returns the full make + model name
make ( ) : string Returns the make of the camera
model ( ) : string Returns the camera model
toArray ( ) : array Converts the object into a nicely readable array

Method Details

__construct() public method

Constructor
public __construct ( array $exif )
$exif array

__debuginfo() public method

Improved var_dump() output
public __debuginfo ( ) : array
return array

__toString() public method

Returns the full make + model name
public __toString ( ) : string
return string

make() public method

Returns the make of the camera
public make ( ) : string
return string

model() public method

Returns the camera model
public model ( ) : string
return string

toArray() public method

Converts the object into a nicely readable array
public toArray ( ) : array
return array

Property Details

$make protected property

protected $make

$model protected property

protected $model