Open edtau opened 9 years ago
class CTextFilter { const bbcode = "bbcode"; const clickable = "clickable"; const markdown = "markdown"; const nl2br = "nl2br"; const shortcode = "shortcode";
If constants is used to send in a filter to the function the risk of misspelling is greatly decreased as in $filter->doFilter("easier to use function",CTextFilter::markdown);
//edta15
To be handled in https://github.com/mosbth/ctextfilter/issues/3
class CTextFilter { const bbcode = "bbcode"; const clickable = "clickable"; const markdown = "markdown"; const nl2br = "nl2br"; const shortcode = "shortcode";
If constants is used to send in a filter to the function the risk of misspelling is greatly decreased as in $filter->doFilter("easier to use function",CTextFilter::markdown);
//edta15