This is the code documentation for the SproutCMS project
Search documentation |
class BbCode
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2026-09-16
**/
class NewClassName extends BbCode {
/**
* Convert an inline run of plain text into HTML.
*
* Supports the following bbcode tags:
* [b] [i] [u] [s] [code] [url=...]
**/
public function inline (string $text, array $tags) {
// Method code goes here
}
/**
* Convert multi-line text into HTML, with support for bbcode.
* The output will be surrounded by one or more P tags as appropriate
**/
public function block (string $text, array $tags) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|