PHP Class DataUploadEvent, shimmie2

Some data is being uploaded. Should be caught by a file handler.
Inheritance: extends Event
ファイルを表示 Open project: shish/shimmie2

Public Properties

Property Type Description
$hash string
$image_id integer
$metadata array
$tmpname string
$type string

Public Methods

Method Description
__construct ( string $tmpname, array $metadata ) Some data is being uploaded.

Method Details

__construct() public method

This should be caught by a file handler. -- Removed: param $user The user uploading the data.
public __construct ( string $tmpname, array $metadata )
$tmpname string The temporary file used for upload.
$metadata array Info about the file, should contain at least "filename", "extension", "tags" and "source".

Property Details

$hash public_oe property

public string $hash
return string

$image_id public_oe property

public int $image_id
return integer

$metadata public_oe property

public array $metadata
return array

$tmpname public_oe property

public string $tmpname
return string

$type public_oe property

public string $type
return string