ssi_examples.php
Simple Machines Forum (SMF)
Tags
Table of Contents
Functions
- template_ssi_above() : mixed
- Displays the header for this file
- template_ssi_below() : mixed
- Displays the footer for this file
- template_homepage_sample1() : string|void
- Displays a sample homepage to give you an idea of what's possible using SSI functions
- template_homepage_sample1_php() : mixed
- Generates the sample homepage. Used with template_homepage_sample1 if $method isn't 'source'.
- template_homepage_sample1_html() : string
- Generates the HTML for the homepage sample. Used in conjunction with template_homepage_sample1 if method is 'source'
Functions
template_ssi_above()
Displays the header for this file
template_ssi_above() : mixed
template_ssi_below()
Displays the footer for this file
template_ssi_below() : mixed
template_homepage_sample1()
Displays a sample homepage to give you an idea of what's possible using SSI functions
template_homepage_sample1([string $method = 'source' ]) : string|void
Parameters
- $method : string = 'source'
-
If 'source', simply returns the source code, otherwise displays it
Return values
string|void —Returns the HTML source if $method is 'source', otherwise displays it
template_homepage_sample1_php()
Generates the sample homepage. Used with template_homepage_sample1 if $method isn't 'source'.
template_homepage_sample1_php() : mixed
template_homepage_sample1_html()
Generates the HTML for the homepage sample. Used in conjunction with template_homepage_sample1 if method is 'source'
template_homepage_sample1_html() : string
Return values
string —The HTML code for the sample homepage