Full index

Package indexes


a b c e g h i m n p r s t v w y _
a
top
addBlock
Yapter::addBlock() in yapter.php
Adds a new block to the blox-array
addBlockDef
Yapter::addBlockDef() in yapter.php
Adds a block definition to the block-definition array from which other blocks can be copied
addBlockFromDef
Copies a block from the block definition array
addBlockFromFile
Adds a new block, filling it with the specified's file contents
b
top
$blockDefs
Yapter::$blockDefs in yapter.php
Tracks all block definitions from which multiple block instances can be created.
$blox
Yapter::$blox in yapter.php
Template content blocks
c
top
clear
Yapter::clear() in yapter.php
Resets the parsed data to an empty string and sets the block as "unparsed".
e
top
error
Yapter::error() in yapter.php
Error handler
execTime
Yapter::execTime() in yapter.php
Gets the time in seconds required to parse the template.
executionTime
Gets the debug string with the time required to parse the template.
E_YAPTER_ALL
E_YAPTER_ALL in yapter.php
Yapter warning level constant - All: Report errors, warnings and notices
E_YAPTER_AUTO_HIDE_BLOCK
Yapter constant - Automaticly hide unparsed blocks
E_YAPTER_DIE_ON_ERROR
E_YAPTER_DIE_ON_ERROR in yapter.php
Yapter warning level constant - Die on errors
E_YAPTER_ERROR
E_YAPTER_ERROR in yapter.php
Yapter warning level constant - Report errors
E_YAPTER_IGN_UNKNOWN_VARS
Yapter constant - Ignore unknown variables
E_YAPTER_NONE
E_YAPTER_NONE in yapter.php
Yapter warning level constant - Silent
E_YAPTER_NOTICE
E_YAPTER_NOTICE in yapter.php
Yapter warning level constant - Report notices
E_YAPTER_WARNING
E_YAPTER_WARNING in yapter.php
Yapter warning level constant - Report warnings
g
top
getBlockContent
Gets the content of a block.
getContents
Yapter::getContents() in yapter.php
Gets the parsed content of a block or the ROOT (complete) template.
getHideUnparsedBlocks
Gets weather to hide unparsed template blocks.
getIgnoreUnknownVars
Gets weather to ignore unknown template variables.
getmicrotime
Get the Unix timestamp in seconds.
getMissingVarList
getVar
Yapter::getVar() in yapter.php
Gets the value of a variable.
getWarningLevel
Gets the level of verbosity of error/warning/notices that Yapter displays.
h
top
$hide_unparsed_blocks
Automatically hide unparsed blocks?
hide
Yapter::hide() in yapter.php
Hides all the contents of the specified block.
i
top
$ignore_unknown_vars
Ignore unknown variables?
m
top
$missing_var_list
Declared variables that were not set.
n
top
notice
Yapter::notice() in yapter.php
Notice handler
p
top
parse
Yapter::parse() in yapter.php
Parses the specified block, filling variables and nested blockdefs
prepare
Yapter::prepare() in yapter.php
Handles subprocessing of templates found in the main template file
r
top
replace
Yapter::replace() in yapter.php
Replaces the contents of one block with the contents of another.
s
top
$startTime
Yapter::$startTime in yapter.php
Script start time used to calculate debug execution time.
set
Yapter::set() in yapter.php
Assigns a value to a variable ({varname}).
setFile
Yapter::setFile() in yapter.php
Assigns the contents of a file to a variable ({varname}).
setHideUnparsedBlocks
Sets weather to hide unparsed template blocks.
setIgnoreUnknownVars
Sets weather to ignore unknown template variables.
setMissingVar
List of variables that were found to not be set during parsing.
setParseMode
Sets whether to parse unknown variables.
setVars
Yapter::setVars() in yapter.php
Assigns values to multiple variables
setWarningLevel
Sets the level of verbosity of error/warning/notices that Yapter displays.
spit
Yapter::spit() in yapter.php
Prints the full template contents.
t
top
Template
Template::Template() in yapter.php
Yapter Template Constructor
Template
Template in yapter.php
Yapter - Yet Another PHP Template Engine (Legacy Class)
v
top
$vars
Yapter::$vars in yapter.php
Array of variables available to all blocks
w
top
$warning_level
Warning level verbosity
warning
Yapter::warning() in yapter.php
Warning handler
warnVarNotSet
Issue warning the first time an assigned variable is found, but not set.
y
top
Yapter
Yapter::Yapter() in yapter.php
Yapter Constructor
Yapter
Yapter in yapter.php
Yapter - Yet Another PHP Template Engine
yapter.php
yapter.php in yapter.php
_
top
$_ROOT
Yapter::$_ROOT in yapter.php
Document Root
a b c e g h i m n p r s t v w y _