acp_utils
class acp_utils implements acp_utils_interface
Properties
protected factory | $factory |
Methods
array
analyse_bbcode(string $definition, string $template)
Analyse given BBCode definition for issues and safeness
Details
at line 29
__construct(factory $factory)
No description
at line 37
array
analyse_bbcode(string $definition, string $template)
Analyse given BBCode definition for issues and safeness
Required elements in the return array:
- status: see BBCODESTATUS* constants
Optional elements in the return array:
- name: Name of the BBCode based on the definition. Required if status is "safe".
- errortext: Textual description of the issue in plain text or as a L* string.
- error_html: Visual description of the issue in HTML.