class SnippetDriver

Snippet driver

Traits

Better OOP experience.

Constants

TYPE_STATIC

TYPE_DYNAMIC

TYPE_AREA

Methods

__construct(ISnippetBridge $bridge)

No description

void
enter(string $name, string $type)

No description

void
leave()

No description

string
getHtmlId(string $name)

No description

bool
renderSnippets(array $blocks, array $params)

No description

Details

at line 41
__construct(ISnippetBridge $bridge)

Parameters

ISnippetBridge $bridge

at line 47
void enter(string $name, string $type)

Parameters

string $name
string $type

Return Value

void

at line 68
void leave()

Return Value

void

at line 83
string getHtmlId(string $name)

Parameters

string $name

Return Value

string

at line 89
bool renderSnippets(array $blocks, array $params)

Parameters

array $blocks
array $params

Return Value

bool