Template Tags

Namespace

Define the template namespace at the top:

<?php namespace Redaxscript\Template; ?>

Partial

Include a single or multiple PHTML partials:

<?php echo Tag::partial(mixed $file); ?>

Base

Create a <base> tag inside your <head> tag:

<?php echo Tag::base(); ?>

Title

Create a <title> tag inside your <head> tag:

<?php echo Tag::title(string $text); ?>

Meta

Create a <meta> tag inside your <head> tag:

<?php echo Tag::meta(); ?>

Link

Create a <link> tag inside your <head> tag:

<?php echo Tag::link(); ?>

Style

Create a <style> tag inside your <head> tag:

<?php echo Tag::style(); ?>

Script

Create a <script> tag inside your <head> tag:

<?php echo Tag::script(); ?>

Breadcrumb

Display the breadcrumb:

<?php echo Tag::breadcrumb(); ?>

Content

Display the contents:

<?php echo Tag::content(); ?>

Extra

Display the extras:

<?php echo Tag::extra(string $filter); ?>

Navigation

Display the navigation:

<?php echo Tag::navigation(string $type, array $options); ?>

Search form

Display the search form:

<?php echo Tag::searchForm(string $table); ?>

Get registry

Get item from the registry:

<?php Tag::getRegistry(string $key); ?>

Get language

Get item from the language:

<?php Tag::getLanguage(string $key, string $index); ?>

Get setting

Get item from the settings:

<?php Tag::getSetting(string $key); ?>
Edit on GitHub