PHP Class Horde_Mime_Viewer_Rpm, horde

Copyright 1999-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Anil Madhavapeddy ([email protected])
Inheritance: extends Horde_Mime_Viewer_Base
显示文件 Open project: horde/horde

Protected Properties

Property Type Description
$_capability array This driver's display capabilities.
$_metadata array Metadata for the current viewer/data.

Public Methods

Method Description
__construct ( Horde_Mime_Part $part, array $conf = [] ) Constructor.

Protected Methods

Method Description
_renderInfo ( ) : array Return the rendered information about the Horde_Mime_Part object.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Mime_Part $part, array $conf = [] )
$part Horde_Mime_Part
$conf array Configuration:
'location' - (string) The location of the rpm binary [REQUIRED].
'monospace' - (string) A class to use to display monospace text inline.
              DEFAULT: Uses style="font-family:monospace"

_renderInfo() protected method

Return the rendered information about the Horde_Mime_Part object.
protected _renderInfo ( ) : array
return array See parent::render().

Property Details

$_capability protected_oe property

This driver's display capabilities.
protected array $_capability
return array

$_metadata protected_oe property

Metadata for the current viewer/data.
protected array $_metadata
return array