phpBB API Documentation
Class

phpbb\textformatter\s9e\bbcode_merger

class bbcode_merger

Methods

__construct(factory $factory)

array merge_bbcodes(array $without, array $with)

Merge two BBCode definitions

Details

at line 30
public __construct(factory $factory)

Parameters

factory $factory

at line 44
public array merge_bbcodes(array $without, array $with)

Merge two BBCode definitions

All of the arrays contain a "usage" element and a "template" element

Parameters

array $without BBCode definition without an attribute
array $with BBCode definition with an attribute

Return Value

array Merged definition