PHP Class Whups_Mime_Viewer_zip, horde

Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
Author: Mike Cochrane ([email protected])
Author: Michael Slusarz ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Mime_Viewer_Zip
ファイルを表示 Open project: horde/horde

Protected Methods

Method Description
_render ( ) : array Return the full rendered version of the Horde_Mime_Part object.
_renderInfo ( ) : array Return the rendered inline version of the Horde_Mime_Part object.
_whupsCallback ( integer $key, array $val ) : string The function to use as a callback to _toHTML().

Method Details

_render() protected method

URL parameters used by this function:
'zip_attachment' - (integer) The ZIP attachment to download.
protected _render ( ) : array
return array See parent::render().

_renderInfo() protected method

Return the rendered inline version of the Horde_Mime_Part object.
protected _renderInfo ( ) : array
return array See parent::render().

_whupsCallback() protected method

The function to use as a callback to _toHTML().
protected _whupsCallback ( integer $key, array $val ) : string
$key integer The position of the file in the zip archive.
$val array The information array for the archived file.
return string The content-type of the output.