Adventure Documentation

Resolve extends ModifierPlugin
in package

Represents a Smarty `resolve` plugin.

Tags
deprecated

This modifier is no longer needed. The MidgaardResource handles template inheritance resolution automatically as the default resource type. Existing usages of |resolve are backward-compatible (this is now a no-op).

Example (no longer required):

{include file="path/to/file.tpl"|resolve} can now be written as: {include file="path/to/file.tpl"}

Table of Contents

callback()  : string
No-op for backward compatibility.
getName()  : string

Methods

callback()

No-op for backward compatibility.

public callback(mixed $value, mixed ...$params) : string

Template resolution is now handled automatically by the MidgaardResource which is registered as the default Smarty resource type.

Parameters
$value : mixed
$params : mixed
Tags
Return values
string

getName()

public getName() : string
Tags
Return values
string

        

Search results