PHP Class FluidTYPO3\Vhs\ViewHelpers\Format\MarkdownViewHelper

Requires an installed "markdown" utility, the specific implementation is less important since Markdown has no configuration options. However, the utility or shell scipt must: - accept input from STDIN - output to STDOUT - place errors in STDERR - be executable according to open_basedir and others - exist within (one or more of) TYPO3's configured executable paths In other words, *NIX standard behavior must be used. See: http://daringfireball.net/projects/markdown/
Inheritance: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
Afficher le fichier Open project: fluidtypo3/vhs

Protected Properties

Свойство Type Description
$cache TYPO3\CMS\Core\Cache\Frontend\StringFrontend
$escapingInterceptorEnabled boolean
$markdownExecutablePath string

Méthodes publiques

Méthode Description
initialize ( ) : void
render ( string $text = null, boolean $trim = true, boolean $htmlentities = false ) : string
transform ( string $text ) : string

Method Details

initialize() public méthode

public initialize ( ) : void
Résultat void

render() public méthode

public render ( string $text = null, boolean $trim = true, boolean $htmlentities = false ) : string
$text string
$trim boolean
$htmlentities boolean
Résultat string

transform() public méthode

public transform ( string $text ) : string
$text string
Résultat string

Property Details

$cache protected_oe property

protected StringFrontend,TYPO3\CMS\Core\Cache\Frontend $cache
Résultat TYPO3\CMS\Core\Cache\Frontend\StringFrontend

$escapingInterceptorEnabled protected_oe property

protected bool $escapingInterceptorEnabled
Résultat boolean

$markdownExecutablePath protected_oe property

protected string $markdownExecutablePath
Résultat string