\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 |
Extends
\Hazaar\View\HelperSummary
Methods | Properties | Constants |
---|---|---|
No constants |
Properties
$parser
$parser
$view
$view
Methods
import()
import()
parse()
parse($string)
Parameters
$string | No description |
extendArgs()
extendArgs($args)
Parameters
$args | No description |
get()
get($arg)
Parameters
$arg | No description |
getName()
getName()
import()
import()
init()
init($view, $args = Array
(
)
)
Parameters
$view | \Hazaar\View\Layout | No description |
$args | No description |
initialise()
initialise($args = null)
Parameters
$args | No description |
requires()
requires($helper, $args = Array
(
)
)
Parameters
$helper | No description | |
$args | No description |
run()
run($view)
Parameters
$view | No description |
set()
set($arg, $value)
Parameters
$arg | No description | |
$value | No description |