Skip to content

darkmatus/zf2-bbcodeintegration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zf2-bbcodeintegration

Integration of Decoda bbcode parser as ViewHelper in ZF2

Installation:

Copy/move the 'emoticons' folder from 'vendor/mjohnson/decoda' to 'public/images/'. Add 'ZF2Bbcode' to your 'application.config.php'.

Using:

In your view use it like every other viewHelper:

echo $this->bbcode('[b]I'm a BBCode[/b]'); or echo $this->escapeHtml($this->bbcode('[b]I'm a BBCode[/b]');

About

Integration of Decoda bbcode parser as ViewHelper in ZF2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages