Open-Source PHP Framework - Designed for rapid development of performance-oriented scalable applications

UGC Helper

API >> mvc >> helpers >> ugc
This helper is used to componentize Vork tools in a manner that is safe for public access

$ugc get::helper('ugc');

The Guide

$ugc->guide();
This Displays the formatting guide for ugc.

Converting/Checking User Content

$ugc->text($content);
Display text with vorkCode-embedded

$ugc->tagShortcuts($str)
Parses shortcut-tags and does a safe version of nl2br()

$ugc->customTags($str)
Parses out custom tags

$ugc->autoLink($str
Automatically converts URLs to links and emails to spam-resistant email-links

Bradley MatusiakLast modified by Bradley Matusiak