Recent changes RSS feed
 

Supported Tags

Core Tags

Core Block Tag:
Show or hide a portion of a template

Core Data Source Tag:
Provides a scope for template variables

Core Default Tag:
Default display if a given variable is not defined at runtime (partner of Core Optional Tag)

Core Import Tag:
Import variable definitions into the current template scope

Core Include Tag:
Include the contents of a file into the current template

Core Literal Tag:
Prevent contents of tag from being parsed

Core Optional Tag:
Optional display if named variable exists at runtime.

Core Placeholder Tag:
Present a named location where content can be inserted

Core Set Tag:
Set the value of a variable in the current scope

Core Script Tag:
Placeholder for inserting JavaScript into template at Compile Time or Run Time

Core Wrap Tag:
Wrap a named tag with the contents of a file

Core Output Cache Tag:
Mark a section of the template for file caching, using PEAR::Cache_Lite

Generic Tags

Any tag in a template that is part of the native vocabulary of the XML language being used (e.g. a normal HTML tag) can be made a component of either Generic Tag of Generic Container Tag. At runtime these will be available as instances of Tag Component. See Template Syntax for more details on Generic Tags.

Note the exception to the rule is the form tags (see below) which have their own Compile Time and Run Time components.

List Tags

List Default Tag:
Define alternative output to be shown when enclosing list is empty

List List Tag:
Define a list

List Item Tag:
Define a list item

List Separator Tag:
Define output between list items

Form Tags

Button Tag:
Enhanced html button tag

Error Summary Tag:
Show a list of form errors

Form Tag:
Enhanced html form tag

Input Tag:
Enhanced html input tag

Select Tag:
Enhanced html select tag

Textarea Tag:
Enhanced html textarea tag

Select Date Tag:
Enhanced select tag for selecting dates from a calendar

Select Time Tag:
Enhanced select tag for selecting times from a 24 hour clock

Input Auto Complete Tag:
Enhanced <input type=”text”> box with autocompletion using JavaScript

Pager

Page Elipses Tag:
In a pager e.g. ...6 7 8... (the ... are the elipses)

Page First Tag:
The “back to start” element of the pager

Page Last Tag:
The “go to end” element of the pager

Page List Tag:
Marks the “iterable” section of the template

Page Navigator Tag:
The root element of a page

Page Next Tag:
The element that steps forward one page

Page Prev Tag:
The element that steps back one page

Page Number Tag:
The element into which the page numbers will be rendered

Page Separator Tag:
The separator between Page Number Tag

Development Tags

Dev Source Tag:
View the PHP source code generated into the compiled template

Dev Tree Tag:
View the Compile Time component tree

Dev DataSource Tag:
View the contents of a runtime DataSource

Data Tags

Data Dump Tag:
Dump a DataSource for display using var_dump

Data Table Tag:
Automatically generate an HTML table from a DataSource

Calendar

Requires PEAR::Calendar (EXPERIMENTAL)

Calendar Month Tag:
The root calendar tag, for a month

Calendar Title Style Tag:
For the title of the calendar e.g. “December 2003”

Calendar Next Prev Style Tag:
For the next / prev navigation between months

CalendarDayHeaderStyleTag:
For the week column headings (e.g. Mon : Tue : Wed : Thu : Fri : Sat : Sun)

Calendar Day Style Tag:
Styles a normal day in the calendar

Calendar Selected Day Style Tag:
Styles a “selected” day in the calendar

Calendar Empty Day Style Tag:
Styles “empty” days in the calendar (those that fall outside the range of the current month

HTML

HTML BBCode Tag:
Outputs a variable with BBCodes converted to their HTML equivalent. (requires PEAR::HTML_BBCodeParser)

Encode

Encode JavaScript Tag:
Encodes a section of the template and adds JavaScript so the browser will decode it (but View > Source is unreadable)

 
tag/supported_tags.txt · Last modified: 2006/12/09 17:16
 
Hosting for this site donated by Procata PHP Development