HTML_Template_PHPLIB
[ class tree: HTML_Template_PHPLIB ] [ index: HTML_Template_PHPLIB ] [ all elements ]

Element index for package HTML_Template_PHPLIB

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ h ] [ i ] [ m ] [ p ] [ r ] [ s ] [ t ] [ u ] [ v ] [ _ ]

_

__construct
in file Tool.php, method HTML_Template_PHPLIB_Tool::__construct()
    Constructor
__construct
in file PHPLIB.php, method HTML_Template_PHPLIB::__construct()
    Constructor
top

a

authors.php
procedural page authors.php
top

b

block.php
procedural page block.php
top

c

checkBlockDefinitions
in file Validator.php, method HTML_Template_PHPLIB_Validator::checkBlockDefinitions()
    Check if all block definitions have a closing counterpart and if the block comments have all the required spaces
checkVariables
in file Validator.php, method HTML_Template_PHPLIB_Validator::checkVariables()
    Checks if the variables defined are correct
clearVar
in file PHPLIB.php, method HTML_Template_PHPLIB::clearVar()
    Clears a variable (sets its content to "")
top

d

$debug
in file PHPLIB.php, variable HTML_Template_PHPLIB::$debug
    If set, echo assignments
dieHard
in file Tool.php, method HTML_Template_PHPLIB_Tool::dieHard()
    Echoes the message and exist php with the given exit code
doGenerate
in file Tool.php, method HTML_Template_PHPLIB_Tool::doGenerate()
    Generates PHP code for the given template file
doHelp
in file Tool.php, method HTML_Template_PHPLIB_Tool::doHelp()
    Prints the help message to stdout
doValidate
in file Tool.php, method HTML_Template_PHPLIB_Tool::doValidate()
    Validates the files given on the cmdline
top

e

exists
in file PHPLIB.php, method HTML_Template_PHPLIB::exists()
    Checks if the given variable exists.
top

f

$file
in file PHPLIB.php, variable HTML_Template_PHPLIB::$file
    $file[handle] = 'filename';
$file_fallbacks
in file PHPLIB.php, variable HTML_Template_PHPLIB::$file_fallbacks
    Fallback paths that should be defined in a child class
finish
in file PHPLIB.php, method HTML_Template_PHPLIB::finish()
    Finish string
$file_fallbacks
in file block.php, variable myT::$file_fallbacks
top

g

get
in file PHPLIB.php, method HTML_Template_PHPLIB::get()
    Get finished variable
getAction
in file Tool.php, method HTML_Template_PHPLIB_Tool::getAction()
    Returns the action to execute
getBlocks
in file Generator.php, method HTML_Template_PHPLIB_Generator::getBlocks()
    Returns an array of blocks in the given template code.
getCodeBlock
in file Generator.php, method HTML_Template_PHPLIB_Generator::getCodeBlock()
    Creates the PHP code for the given array of blocks.
getCodeBlockDefinition
in file Generator.php, method HTML_Template_PHPLIB_Generator::getCodeBlockDefinition()
    Creates the code to use a given template file
getLastError
in file PHPLIB.php, method HTML_Template_PHPLIB::getLastError()
    Returns the last error message if any
getLines
in file Helper.php, method HTML_Template_PHPLIB_Helper::getLines()
    Returns an array with all lines of the text.
getTemplateNameFromFilename
in file Generator.php, method HTML_Template_PHPLIB_Generator::getTemplateNameFromFilename()
    Creates a name that can be used as handle for a template, from the given file name.
getUndefined
in file PHPLIB.php, method HTML_Template_PHPLIB::getUndefined()
    Get undefined values of a handle
getVar
in file PHPLIB.php, method HTML_Template_PHPLIB::getVar()
    Return one or more specific variable(s) with their values.
getVars
in file PHPLIB.php, method HTML_Template_PHPLIB::getVars()
    Return all defined variables and their values
Generator.php
procedural page Generator.php
top

h

$haltOnError
in file PHPLIB.php, variable HTML_Template_PHPLIB::$haltOnError
    'yes' => halt,
halt
in file PHPLIB.php, method HTML_Template_PHPLIB::halt()
    Error function. Halt template system with message to show
haltMsg
in file PHPLIB.php, method HTML_Template_PHPLIB::haltMsg()
    Printf error message to show
HTML_Template_PHPLIB
in file PHPLIB.php, class HTML_Template_PHPLIB
    Converted PHPLIB Template class
Helper.php
procedural page Helper.php
HTML_Template_PHPLIB_Generator
in file Generator.php, class HTML_Template_PHPLIB_Generator
    Generates code to be used with templates
HTML_Template_PHPLIB_Helper
in file Helper.php, class HTML_Template_PHPLIB_Helper
    Helper methods for the HTML_Template_PHPLIB tool
HTML_Template_PHPLIB_Tool
in file Tool.php, class HTML_Template_PHPLIB_Tool
    Command line tool to use the HTML_Template_PHPLIB validator and generator.
HTML_Template_PHPLIB_Validator
in file Validator.php, class HTML_Template_PHPLIB_Validator
    Class to validate templates (syntax checks)
top

i

$illegals
in file PHPLIB.php, variable HTML_Template_PHPLIB::$illegals
    Characters that are not allowed in variable names.
ittest.php
procedural page ittest.php
intcmpLine
in file Validator.php, method HTML_Template_PHPLIB_Validator::intcmpLine()
    Compares the two error arrays by line number
isError
in file PHPLIB.php, method HTML_Template_PHPLIB::isError()
    Checks if the given value is an error
top

m

myT
in file block.php, class myT
    Converted PHPLIB Template class
top

p

PHPLIB.php
procedural page PHPLIB.php
p
in file PHPLIB.php, method HTML_Template_PHPLIB::p()
    Print variable to the browser
parse
in file PHPLIB.php, method HTML_Template_PHPLIB::parse()
    Parse handle into target
pParse
in file PHPLIB.php, method HTML_Template_PHPLIB::pParse()
    Same as parse, but printing it.
pSubst
in file PHPLIB.php, method HTML_Template_PHPLIB::pSubst()
    Same as subst but printing the result
top

r

$root
in file PHPLIB.php, variable HTML_Template_PHPLIB::$root
    Relative filenames are relative to this pathname
run
in file Tool.php, method HTML_Template_PHPLIB_Tool::run()
    Start the tool
top

s

setBlock
in file PHPLIB.php, method HTML_Template_PHPLIB::setBlock()
    Set a block in the appropriate template handle
setFile
in file PHPLIB.php, method HTML_Template_PHPLIB::setFile()
    Set appropriate template files
setIllegals
in file PHPLIB.php, method HTML_Template_PHPLIB::setIllegals()
    Set characters that are not allowed in variable names.
setRoot
in file PHPLIB.php, method HTML_Template_PHPLIB::setRoot()
    Sets the template directory
setUnknowns
in file PHPLIB.php, method HTML_Template_PHPLIB::setUnknowns()
    What to do with unknown variables
setVar
in file PHPLIB.php, method HTML_Template_PHPLIB::setVar()
    Set corresponding substitutions for placeholders
sortByLine
in file Validator.php, method HTML_Template_PHPLIB_Validator::sortByLine()
    Sorts the given error array by line numbers
splitLines
in file Helper.php, method HTML_Template_PHPLIB_Helper::splitLines()
    Splits the content into single lines and returns the array.
subst
in file PHPLIB.php, method HTML_Template_PHPLIB::subst()
    Substitute variables in handle $handle
top

t

tpl1.php
procedural page tpl1.php
Tool.php
procedural page Tool.php
Template_PHPLIB
in file PHPLIB.php, class Template_PHPLIB
    Backwards-compatibility for HTML_Template_PHPLIB.
top

u

$unknowns
in file PHPLIB.php, variable HTML_Template_PHPLIB::$unknowns
    'remove' => remove undefined variables 'comment' => replace undefined variables with comments 'keep' => keep undefined variables
unsetVar
in file PHPLIB.php, method HTML_Template_PHPLIB::unsetVar()
    Unsets a variable completly
top

v

Validator.php
procedural page Validator.php
validate
in file Validator.php, method HTML_Template_PHPLIB_Validator::validate()
    Validates a template file.
top

Documentation generated on Tue, 10 Dec 2019 05:16:06 -0500 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.