Super Easy PHP Templating  1.0
Templating for basic sites is too complicated for basic websites. This is a simple templating system to allow for reusing HTML templates without all the extra fluff.
 All Data Structures Files Functions Variables
SEPTMarkup Class Reference

Static Public Member Functions

static GenerateBlock ($blockName)
 
static GetBlock ($blockName)
 
static StartRender ($data)
 
static GetSnippet ($snippetFile)
 
static CompleteRender ()
 

Detailed Description

SEPT Markup, the class that controls the markup within thge theme file itself

Author
Paul Shields - Pkshields.com

Member Function Documentation

static CompleteRender ( )
static

Complete the page render by clearing the data, ready for another render

static GenerateBlock (   $blockName)
static

Set the location for a block to be inserted within the theme

Parameters
stringblockName Name of block to be inserted
static GetBlock (   $blockName)
static

Access a block directly compared to the HTML output of GenerateBlock

Parameters
stringblockName Name of block to be getted
static GetSnippet (   $snippetFile)
static

Get a snippet to render at this current spot

Parameters
stringsnippetFile File containing snippet to render
static StartRender (   $data)
static

Provide the data to start rendering the page with

Parameters
Array[string]string data Data to render the page with

The documentation for this class was generated from the following file: