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
Datei anzeigen Open project: fluidtypo3/vhs

Protected Properties

Property Type Description
$cache TYPO3\CMS\Core\Cache\Frontend\StringFrontend
$escapingInterceptorEnabled boolean
$markdownExecutablePath string

Public Methods

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

Method Details

initialize() public method

public initialize ( ) : void
return void

render() public method

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

transform() public method

public transform ( string $text ) : string
$text string
return string

Property Details

$cache protected_oe property

protected StringFrontend,TYPO3\CMS\Core\Cache\Frontend $cache
return TYPO3\CMS\Core\Cache\Frontend\StringFrontend

$escapingInterceptorEnabled protected_oe property

protected bool $escapingInterceptorEnabled
return boolean

$markdownExecutablePath protected_oe property

protected string $markdownExecutablePath
return string