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
$_endTime
in file PtcDebug.php, variable PtcDebug::$_endTime
    application end time
$_excludeTrace
in file PtcDebug.php, variable PtcDebug::$_excludeTrace
    Exclude functions in this array from the backtrace
$_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
$_inputStyles
in file PtcForms.php, variable PtcForms::$_inputStyles
    default Input styles options
$_labelStyles
in file PtcForms.php, variable PtcForms::$_labelStyles
$_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
    possible 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
_addElementId
in file PtcForms.php, method PtcForms::_addElementId()
    Add an id to all html elements
_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()
    Checks for errors while building and 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 as best as we can
_editFormValues
in file PtcForms.php, method PtcForms::_editFormValues()
    Manipulate form values from POST or GET
_getFormValues
in file PtcForms.php, method PtcForms::_getFormValues()
    Retrieve form values from POST or 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
_randomId
in file PtcForms.php, method PtcForms::_randomId()
    Increase number of random generated id for elements
_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
__construct
in file PtcForms.php, method PtcForms::__construct()
    Sets form method(POST/GET) and retrieves already sent values
a

a

addElAttribute
in file PtcForms.php, method PtcForms::addElAttribute()
    Alias of addElAttributes()
addElAttributes
in file PtcForms.php, method PtcForms::addElAttributes()
    Add attributes to array of attributes for all html elements used by the class
addField
in file PtcForms.php, method PtcForms::addField()
    Add field to the form 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 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 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)
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
load
in file PtcDebug.php, method PtcDebug::load()
    Alias of PtcDebug::debugLoader()
log
in file PtcDebug.php, method PtcDebug::log()
    Alias of PtcDebug::bufferLog()
logSql
in file PtcDebug.php, method PtcDebug::logSql()
    Alias of PtcDebug::bufferSql()
m

m

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

p

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
PtcDb.php
procedural page PtcDb.php
PtcDebug.php
procedural page PtcDebug.php
PtcForms.php
procedural page PtcForms.php
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)
render
in file PtcForms.php, method PtcForms::render()
    Render form
renderForm
in file PtcForms.php, method PtcForms::renderForm()
    Alias of render()
s

s

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
setInputStyle
in file PtcForms.php, method PtcForms::setInputStyle()
    Change default input fields style
setLabelStyle
in file PtcForms.php, method PtcForms::setLabelStyle()
    Change Labels default styles
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

validate
in file PtcForms.php, method PtcForms::validate()
    Validate form fields defined with the addFieldValidator() method
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()
    Alias of validate()
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

Documentation generated on Wed, 06 Mar 2013 23:45:42 +0100 by phpDocumentor 1.4.3