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

Element index for package PhpToolCase

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

_

_

$_buffer
in file PtcDebug.php, variable PtcDebug::$_buffer
    the debug buffer
$_buildHidden
in file PtcForms.php, variable PtcForms::$_buildHidden
    build hidden values parameter
$_defaultOptions
in file PtcDebug.php, variable PtcDebug::$_defaultOptions
    default options for the debug class
$_defaultOptions
in file PtcForms.php, variable PtcForms::$_defaultOptions
    default options
$_elAttributes
in file PtcForms.php, variable PtcForms::$_elAttributes
    Html attributes for all elements
$_elRandId
in file PtcForms.php, variable PtcForms::$_elRandId
    autogenerate an id for the element if not given
$_endTime
in file PtcDebug.php, variable PtcDebug::$_endTime
    application end time
$_formFields
in file PtcForms.php, variable PtcForms::$_formFields
    fields storage
$_hiddenValues
in file PtcForms.php, variable PtcForms::$_hiddenValues
    auto generated hidden fields storage
$_htmlTpls
in file PtcForms.php, variable PtcForms::$_htmlTpls
    html templates
$_options
in file PtcDebug.php, variable PtcDebug::$_options
    array with all options
$_startTime
in file PtcDebug.php, variable PtcDebug::$_startTime
    application start time
$_storageKeys
in file PtcForms.php, variable PtcForms::$_storageKeys
    possibile options in fields storage
$_validate
in file PtcForms.php, variable PtcForms::$_validate
    array of fields to validate
_addClassValidator
in file PtcForms.php, method PtcForms::_addClassValidator()
    Add validator classes to field for js validation
_addCompositeField
in file PtcForms.php, method PtcForms::_addCompositeField()
    Add composite for multiple layouts with html table
_addDefaultValues
in file PtcForms.php, method PtcForms::_addDefaultValues()
    Add empty default values when addField() is called
_addFieldParams
in file PtcForms.php, method PtcForms::_addFieldParams()
    Add parameters to field
_addInputStyle
in file PtcForms.php, method PtcForms::_addInputStyle()
    Add default style to field to align properly
_addLabelStyle
in file PtcForms.php, method PtcForms::_addLabelStyle()
    Add default style to label to align properly
_addTableStyle
in file PtcForms.php, method PtcForms::_addTableStyle()
    Add default style to table to align properly
_addValidator
in file PtcForms.php, method PtcForms::_addValidator()
    Add validator to input field
_buildAttributes
in file PtcForms.php, method PtcForms::_buildAttributes()
    Build attributes for html elements
_buildBuffer
in file PtcDebug.php, method PtcDebug::_buildBuffer()
    Build the buffer
_buildContainer
in file PtcForms.php, method PtcForms::_buildContainer()
    Build container for field
_buildElAttributes
in file PtcForms.php, method PtcForms::_buildElAttributes()
    Replace $_elAttributes with template {attributes}
_buildField
in file PtcForms.php, method PtcForms::_buildField()
    Build fields
_buildHtml
in file PtcForms.php, method PtcForms::_buildHtml()
    Build container for field
_buildHtmlTable
in file PtcDebug.php, method PtcDebug::_buildHtmlTable()
    Build the html log and sql tables
_buildInnerVars
in file PtcDebug.php, method PtcDebug::_buildInnerVars()
    Build the inner vars div
_buildInterface
in file PtcDebug.php, method PtcDebug::_buildInterface()
    Build the debug interface
_buildLabel
in file PtcForms.php, method PtcForms::_buildLabel()
    Build label for field
_buildList
in file PtcForms.php, method PtcForms::_buildList()
    Build html select options
_buildMenu
in file PtcDebug.php, method PtcDebug::_buildMenu()
    Build the debug menu
_buildMsgPanel
in file PtcDebug.php, method PtcDebug::_buildMsgPanel()
    Build the log panel
_buildPhpInfo
in file PtcDebug.php, method PtcDebug::_buildPhpInfo()
    Format phpinfo() function
_buildQueriesPanel
in file PtcDebug.php, method PtcDebug::_buildQueriesPanel()
    Build the sql panel
_buildTableData
in file PtcForms.php, method PtcForms::_buildTableData()
    Build dynamic table for multiple layouts
_buildTimerPanel
in file PtcDebug.php, method PtcDebug::_buildTimerPanel()
    Build the timer panel
_buildVarsPanel
in file PtcDebug.php, method PtcDebug::_buildVarsPanel()
    Build the vars panel
_buildW3cPanel
in file PtcDebug.php, method PtcDebug::_buildW3cPanel()
    Build the W3C panel
_checkAccess
in file PtcDebug.php, method PtcDebug::_checkAccess()
    Check if ip has access
_checkErrors
in file PtcForms.php, method PtcForms::_checkErrors()
    Check for errors while building or rendering the form
_cleanBuffer
in file PtcDebug.php, method PtcDebug::_cleanBuffer()
    Remove html entities from the buffer
_cleanQuery
in file PtcDb.php, method PtcDb::_cleanQuery()
    Protect against sql injection
_compressHtml
in file PtcDebug.php, method PtcDebug::_compressHtml()
    Compress the html before render
_debugTrace
in file PtcDebug.php, method PtcDebug::_debugTrace()
    Trace php
_editMethod
in file PtcForms.php, method PtcForms::_editMethod()
    Change values in form method(POST,GET)
_includeCss
in file PtcDebug.php, method PtcDebug::_includeCss()
    Include the css for the debug interface
_includeJs
in file PtcDebug.php, method PtcDebug::_includeJs()
    Include the javascript for the debug interface
_lastError
in file PtcDebug.php, method PtcDebug::_lastError()
    Get fatal error on shutdown
_menuLinks
in file PtcDebug.php, method PtcDebug::_menuLinks()
    Build the debug menu links
_msgType
in file PtcDebug.php, method PtcDebug::_msgType()
    Check message types
_phpInfoArray
in file PtcDebug.php, method PtcDebug::_phpInfoArray()
    Format phpinfo() into an array
_queryFields
in file PtcDb.php, method PtcDb::_queryFields()
    Fields in the select statement WHERE clause
_rebuildValues
in file PtcForms.php, method PtcForms::_rebuildValues()
    Rebuild values for fields if POST or GET
_sortBuffer
in file PtcDebug.php, method PtcDebug::_sortBuffer()
    Sort the buffer
_switchLabelEl
in file PtcForms.php, method PtcForms::_switchLabelEl()
    Switch between span and label elements according to field type
_tracePhp
in file PtcDb.php, method PtcDb::_tracePhp()
_useMethod
in file PtcForms.php, method PtcForms::_useMethod()
    Retrieve form method(POST,GET)
__construct
in file PtcForms.php, method PtcForms::__construct()
    Set form method(POST,GET) and start the engine to keep sent values
a

a

addField
in file PtcForms.php, method PtcForms::addField()
    Add input field to the object
addFieldAttributes
in file PtcForms.php, method PtcForms::addFieldAttributes()
    Add attributes to input field
addFieldEvent
in file PtcForms.php, method PtcForms::addFieldEvent()
    Alias of addFieldEvents()
addFieldEvents
in file PtcForms.php, method PtcForms::addFieldEvents()
    Add events to input field
addFieldLabel
in file PtcForms.php, method PtcForms::addFieldLabel()
    Add a label text for the input field
addFieldValidator
in file PtcForms.php, method PtcForms::addFieldValidator()
    Add validator for input field
addFieldValue
in file PtcForms.php, method PtcForms::addFieldValue()
    Alias of addFieldValues()
addFieldValues
in file PtcForms.php, method PtcForms::addFieldValues()
    Add values to input fields
addLabelOptions
in file PtcForms.php, method PtcForms::addLabelOptions()
    Add attributes to the label
addSpacer
in file PtcForms.php, method PtcForms::addSpacer()
    Add spacer div
addToBuffer
in file PtcDebug.php, method PtcDebug::addToBuffer()
    Attach message to the end of buffer array
addValuesParams
in file PtcForms.php, method PtcForms::addValuesParams()
    Add paramaters to field values group
b

b

bufferLog
in file PtcDebug.php, method PtcDebug::bufferLog()
    Write messsage to log panel
bufferSql
in file PtcDebug.php, method PtcDebug::bufferSql()
    Write message to sql panel
c

c

checkReferer
in file PtcDebug.php, method PtcDebug::checkReferer()
    Check if debug parameters are set on referer url
countRows
in file PtcDb.php, method PtcDb::countRows()
    Count rows of select query(based on reference)
customElAttributes
in file PtcForms.php, method PtcForms::customElAttributes()
    Manipulate/Add html elements attributes
customTpl
in file PtcForms.php, method PtcForms::customTpl()
    Alias of customTpls()
customTpls
in file PtcForms.php, method PtcForms::customTpls()
    Manipulate html templates
d

d

dbClose
in file PtcDb.php, method PtcDb::dbClose()
    Close link to DB
dbConnect
in file PtcDb.php, method PtcDb::dbConnect()
    Connect to database
debugLoader
in file PtcDebug.php, method PtcDebug::debugLoader()
    Load the debug interface if requested
deleteRow
in file PtcDb.php, method PtcDb::deleteRow()
    Delete row from given table
e

e

errorHandler
in file PtcDebug.php, method PtcDebug::errorHandler()
    Handle php errors
executeSql
in file PtcDb.php, method PtcDb::executeSql()
    Execute sql statement and return result
f

f

fieldParentEl
in file PtcForms.php, method PtcForms::fieldParentEl()
    Add attributes to div container for input field
g

g

goFast
in file PtcDb.php, method PtcDb::goFast()
    Retrive value from given table based on 1 field
i

i

insertRow
in file PtcDb.php, method PtcDb::insertRow()
    Insert record from given table
l

l

lastId
in file PtcDb.php, method PtcDb::lastId()
    Get last inerted id
m

m

$mySqlFlag
in file PtcDb.php, variable PtcDb::$mySqlFlag
    Mysql mode(MYSQL_BOTH,MYSQL_ASSOC,MYSQL_NUM)
p

p

PtcDb.php
procedural page PtcDb.php
PtcDebug.php
procedural page PtcDebug.php
PtcForms.php
procedural page PtcForms.php
PtcDb
in file PtcDb.php, class PtcDb
    MYSQL QUERY HELPER CLASS
PtcDebug
in file PtcDebug.php, class PtcDebug
    DEBUGGER & LOGGER CLASS
All class properties and methods are static because it's required to let them work on script shutdown when FATAL error occurs.
PtcForms
in file PtcForms.php, class PtcForms
    PHP TOOLCASE HTML FORMS GENERATOR/VALIDATOR CLASS
q

q

$queryResults
in file PtcDb.php, variable PtcDb::$queryResults
    Store query results in array
r

r

readRow
in file PtcDb.php, method PtcDb::readRow()
    Read 1 row from given table
readTable
in file PtcDb.php, method PtcDb::readTable()
    Read records from given table
removeField
in file PtcForms.php, method PtcForms::removeField()
    Remove field(under development)
renderField
in file PtcForms.php, method PtcForms::renderField()
    Render field
renderForm
in file PtcForms.php, method PtcForms::renderForm()
    Render form
s

s

selfInstance
in file PtcDb.php, method PtcDb::selfInstance()
    Call class methods without initializing the class
setErrorHandler
in file PtcDebug.php, method PtcDebug::setErrorHandler()
    Set the error handler to be the debug class. good for production if param is set to false
showInterface
in file PtcDebug.php, method PtcDebug::showInterface()
    Show the debug interface
sqlToArray
in file PtcDb.php, method PtcDb::sqlToArray()
    Execute any select statement
stopTimer
in file PtcDebug.php, method PtcDebug::stopTimer()
    Monitor the execution of something
u

u

updateRow
in file PtcDb.php, method PtcDb::updateRow()
    Update 1 record in given table
v

v

validateEmail
in file PtcForms.php, method PtcForms::validateEmail()
    Check if value is valid email
validateEqualTo
in file PtcForms.php, method PtcForms::validateEqualTo()
    Check if value matches other field value
validateForm
in file PtcForms.php, method PtcForms::validateForm()
    Validate form fields defined with the addFieldValidator() method
validateNumber
in file PtcForms.php, method PtcForms::validateNumber()
    Check if value is numeric
validatePattern
in file PtcForms.php, method PtcForms::validatePattern()
    Check if given regex pattern is matched
validateRequired
in file PtcForms.php, method PtcForms::validateRequired()
    Check if value is empty
validator
in file PtcForms.php, method PtcForms::validator()
    Alias of validateForm()

Documentation generated on Sun, 27 Jan 2013 18:45:05 +0100 by phpDocumentor 1.4.3