PHP Class Horde_Mime_Viewer_Syntaxhighlighter, horde

Copyright 2003-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: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_Mime_Viewer_Base
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_capability array This driver's display capabilities.

Méthodes protégées

Méthode Description
_getLanguageOptions ( $language )
_languageToBrush ( $language )
_mimeTypeToLanguage ( string $type ) : string Attempts to determine what mode to use for the source-highlight program from a MIME type.
_render ( ) : array Return the full rendered version of the Horde_Mime_Part object.
_renderInline ( ) : array Return the rendered inline version of the Horde_Mime_Part object.

Method Details

_getLanguageOptions() protected méthode

protected _getLanguageOptions ( $language )

_languageToBrush() protected méthode

protected _languageToBrush ( $language )

_mimeTypeToLanguage() protected méthode

Attempts to determine what mode to use for the source-highlight program from a MIME type.
protected _mimeTypeToLanguage ( string $type ) : string
$type string The MIME type.
Résultat string The mode to use.

_render() protected méthode

Return the full rendered version of the Horde_Mime_Part object.
protected _render ( ) : array
Résultat array See parent::render().

_renderInline() protected méthode

Return the rendered inline version of the Horde_Mime_Part object.
protected _renderInline ( ) : array
Résultat array See parent::render().

Property Details

$_capability protected_oe property

This driver's display capabilities.
protected array $_capability
Résultat array