PHP Класс 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/
Наследование: extends TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$cache TYPO3\CMS\Core\Cache\Frontend\StringFrontend
$escapingInterceptorEnabled boolean
$markdownExecutablePath string

Открытые методы

Метод Описание
initialize ( ) : void
render ( string $text = null, boolean $trim = true, boolean $htmlentities = false ) : string
transform ( string $text ) : string

Описание методов

initialize() публичный Метод

public initialize ( ) : void
Результат void

render() публичный Метод

public render ( string $text = null, boolean $trim = true, boolean $htmlentities = false ) : string
$text string
$trim boolean
$htmlentities boolean
Результат string

transform() публичный Метод

public transform ( string $text ) : string
$text string
Результат string

Описание свойств

$cache защищенное свойство

protected StringFrontend,TYPO3\CMS\Core\Cache\Frontend $cache
Результат TYPO3\CMS\Core\Cache\Frontend\StringFrontend

$escapingInterceptorEnabled защищенное свойство

protected bool $escapingInterceptorEnabled
Результат boolean

$markdownExecutablePath защищенное свойство

protected string $markdownExecutablePath
Результат string