\Hazaar\View\Helper
Textile
Helper to convert textile markup into HTML

The textile helper uses the classTextile text parser by Dean Allen to parse text formatted in textile syntax.

For details on how to format text using Textile see Using Textile

To use the Textile helper, add the helper to your view from your Action Controller:

$this->view->addHelper('textile');

Then from within your view you can call the textile parser:

<?=$this->textile->parse($this->mytextilecontent);?>

Tags

Since

2.0.0

Summary
Methods Properties Constants
get
run
set
No constants
Properties
$parser
$parser
Inherited
$view
$view
Methods
import()
import()
parse()
parse($string)

Parameters

$string

No description

Inherited
extendArgs()
extendArgs($args)

Parameters

$args

No description

Inherited
get()
get($arg)

Parameters

$arg

No description

Inherited
getName()
getName()
Inherited
import()
import()
Inherited
init()
init($view, $args = Array ( ) )

Parameters

$view\Hazaar\View\Layout

No description

$args

No description

Inherited
initialise()
initialise($args = null)

Parameters

$args

No description

Inherited
requires()
requires($helper, $args = Array ( ) )

Parameters

$helper

No description

$args

No description

Inherited
run()
run($view)

Parameters

$view

No description

Inherited
set()
set($arg, $value)

Parameters

$arg

No description

$value

No description