Jump to main content Jump to doc navigation

RESOURCE Binding

Other versions: 3.x — Other languages: EN RU — Found a problem? Please edit this page or report an issue.

What is the @RESOURCE Binding?

The @RESOURCE Binding returns the parsed contents of any specified Resource.

Syntax

@RESOURCE resource_id

Binds the variable to a Resource, where resource_id is the ID of the Resource. The returned value is a string containing the parsed content of the Resource.

Usage

To output the contents of a Resource with ID of 12:

@RESOURCE 12

See Also