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

Element index for package PhpToolCase

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

_

_

$_buffer
in file PtcDebug.php, variable PtcDebug::$_buffer
    The debug buffer
$_buildHidden
in file PtcForms.php, variable PtcForms::$_buildHidden
    Build hidden values property
$_consoleStarted
in file PtcDebug.php, variable PtcDebug::$_consoleStarted
    Decides if we should send the buffer to the PhpConsole class
$_countTime
in file PtcDebug.php, variable PtcDebug::$_countTime
    Exclude $_buildBuffer from execution timing property
$_defaultOptions
in file PtcForms.php, variable PtcForms::$_defaultOptions
    Default options for the class
$_defaultOptions
in file PtcDebug.php, variable PtcDebug::$_defaultOptions
    Default options for the debug class
$_elAttributes
in file PtcForms.php, variable PtcForms::$_elAttributes
    Html attributes for all elements
$_endTime
in file PtcDebug.php, variable PtcDebug::$_endTime
    Application end time
$_excludeMethods
in file PtcDebug.php, variable PtcDebug::$_excludeMethods
    Array of methods excluded from the backtrace
$_fields
in file PtcForms.php, variable PtcForms::$_fields
    Fields storage property
$_hiddenValues
in file PtcForms.php, variable PtcForms::$_hiddenValues
    Auto generated hidden fields storage
$_htmlTpls
in file PtcForms.php, variable PtcForms::$_htmlTpls
    Html templates property for all elements
$_inputStyles
in file PtcForms.php, variable PtcForms::$_inputStyles
    Default input styles options property
$_isLoaded
in file PtcDebug.php, variable PtcDebug::$_isLoaded
    Checks if the PtcDebug::load() method has been called already
$_labelStyles
in file PtcForms.php, variable PtcForms::$_labelStyles
    Default label styles property
$_options
in file PtcForms.php, variable PtcForms::$_options
    Class options property, to be merged with $_defaultOptions property
$_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
$_tickTime
in file PtcDebug.php, variable PtcDebug::$_tickTime
    Tick execution time property
$_validate
in file PtcForms.php, variable PtcForms::$_validate
    Array of fields to validate with the validator engine
$_watchedVars
in file PtcDebug.php, variable PtcDebug::$_watchedVars
    Array of watched variables declared
_addClassValidator
in file PtcForms.php, method PtcForms::_addClassValidator()
    Adds validator classes to the fields 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()
    Adds empty default values when addElement() is called
_addElementId
in file PtcForms.php, method PtcForms::_addElementId()
    Adds an id to all html elements
_addFieldParams
in file PtcForms.php, method PtcForms::_addFieldParams()
    Adds parameters to the fields
_addFieldValues
in file PtcForms.php, method PtcForms::_addFieldValues()
    Adds values to fields
_addInputStyle
in file PtcForms.php, method PtcForms::_addInputStyle()
    Adds default styles to fields to align properly
_addLabelStyle
in file PtcForms.php, method PtcForms::_addLabelStyle()
    Adds default style to the label container to align properly
_addTableStyle
in file PtcForms.php, method PtcForms::_addTableStyle()
    Adds default style to the table to align properly
_addValidator
in file PtcForms.php, method PtcForms::_addValidator()
    Adds validation to the input field
_buildAttributes
in file PtcForms.php, method PtcForms::_buildAttributes()
    Builds attributes for html elements
_buildBuffer
in file PtcDebug.php, method PtcDebug::_buildBuffer()
    Builds the buffer
_buildContainer
in file PtcForms.php, method PtcForms::_buildContainer()
    Builds the container for the field
_buildElAttributes
in file PtcForms.php, method PtcForms::_buildElAttributes()
    Compiles _elAttributes with the template {attributes}
_buildField
in file PtcForms.php, method PtcForms::_buildField()
    Builds the fields
_buildHtml
in file PtcForms.php, method PtcForms::_buildHtml()
    Builds container for the field
_buildHtmlTable
in file PtcDebug.php, method PtcDebug::_buildHtmlTable()
    Builds the html log and sql tables
_buildInnerVars
in file PtcDebug.php, method PtcDebug::_buildInnerVars()
    Builds the inner vars div
_buildInterface
in file PtcDebug.php, method PtcDebug::_buildInterface()
    Builds the debug interface
_buildLabel
in file PtcForms.php, method PtcForms::_buildLabel()
    Builds the label for field
_buildList
in file PtcForms.php, method PtcForms::_buildList()
    Builds html select options
_buildMenu
in file PtcDebug.php, method PtcDebug::_buildMenu()
    Builds the debug menu
_buildMsgPanel
in file PtcDebug.php, method PtcDebug::_buildMsgPanel()
    Builds the log/sql panel
_buildPhpInfo
in file PtcDebug.php, method PtcDebug::_buildPhpInfo()
    Formats phpinfo() function
_buildTableData
in file PtcForms.php, method PtcForms::_buildTableData()
    Builds a dynamic table for multiple layouts
_buildTimerPanel
in file PtcDebug.php, method PtcDebug::_buildTimerPanel()
    Builds the timer panel
_buildTraceLink
in file PtcDebug.php, method PtcDebug::_buildTraceLink()
    Builds the link for the code highlighter popup
_buildTraceTree
in file PtcDebug.php, method PtcDebug::_buildTraceTree()
    Builds the tree for the links in the vars & config panel
_buildVarsPanel
in file PtcDebug.php, method PtcDebug::_buildVarsPanel()
    Builds the vars panel
_buildW3cPanel
in file PtcDebug.php, method PtcDebug::_buildW3cPanel()
    Builds the W3C panel
_checkAccess
in file PtcDebug.php, method PtcDebug::_checkAccess()
    Checks if a given 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()
    Removes 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()
    Compresses the html before render
_debugConsole
in file PtcDebug.php, method PtcDebug::_debugConsole()
    Sends the buffer to the PhpConsole class
_debugTrace
in file PtcDebug.php, method PtcDebug::_debugTrace()
    Trace php as best as we can
_disablePanels
in file PtcDebug.php, method PtcDebug::_disablePanels()
    Controls which panels will be shown with $_GET variable "hidepanels"
_doDump
in file PtcDebug.php, method PtcDebug::_doDump()
    Custom dump to properly format a given variable and make it more friendly to read
_editFormValues
in file PtcForms.php, method PtcForms::_editFormValues()
    Manipulates form values from POST or GET
_findReference
in file PtcDebug.php, method PtcDebug::_findReference()
    Finds a value in the buffer based on a reference (the "$statement")
_findWatchVar
in file PtcDebug.php, method PtcDebug::_findWatchVar()
    Retrieves the variable to watch from the "$GLOBALS"
_formatVar
in file PtcDebug.php, method PtcDebug::_formatVar()
    Evaluates the type of variable for output
_getFormValues
in file PtcForms.php, method PtcForms::_getFormValues()
    Retrieves form values from POST or GET
_includeCss
in file PtcDebug.php, method PtcDebug::_includeCss()
    Includes the css for the interface
_includeJs
in file PtcDebug.php, method PtcDebug::_includeJs()
    Includes the javascript for the interface
_lastError
in file PtcDebug.php, method PtcDebug::_lastError()
    Gets the fatal error on shutdown
_menuLinks
in file PtcDebug.php, method PtcDebug::_menuLinks()
    Builds the menu links
_msgType
in file PtcDebug.php, method PtcDebug::_msgType()
    Checks message types
_phpInfoArray
in file PtcDebug.php, method PtcDebug::_phpInfoArray()
    Formats 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()
    Increases number of random generated id for elements
_rebuildValues
in file PtcForms.php, method PtcForms::_rebuildValues()
    Rebuilds values for the fields if form has been sent
_removeField
in file PtcForms.php, method PtcForms::_removeField()
    Removes a field from the object
_setSessionVars
in file PtcDebug.php, method PtcDebug::_setSessionVars()
    Sets session vars to control which panels will be shown
_sortBuffer
in file PtcDebug.php, method PtcDebug::_sortBuffer()
    Sorts the buffer
_switchLabelEl
in file PtcForms.php, method PtcForms::_switchLabelEl()
    Switches between span and label elements according to field type
__construct
in file PtcForms.php, method PtcForms::__construct()
    Sets form method(POST/GET) and retrieves sent values
a

a

addElAttribute
in file PtcForms.php, method PtcForms::addElAttribute()
    Alias of addElAttributes()
addElAttributes
in file PtcForms.php, method PtcForms::addElAttributes()
    Adds attributes to array of attributes for html elements
addElement
in file PtcForms.php, method PtcForms::addElement()
    Adds a field to the form object
addSpacer
in file PtcForms.php, method PtcForms::addSpacer()
    Adds a spacer div
addToBuffer
in file PtcDebug.php, method PtcDebug::addToBuffer()
    Attaches a message to the end of the buffer array to add data based on a reference
add_to_log
in file PtcDebug.php, function add_to_log()
    Attaches data to the buffer array based on a reference
b

b

bufferLog
in file PtcDebug.php, method PtcDebug::bufferLog()
    Writes data to the messages panel
bufferSql
in file PtcDebug.php, method PtcDebug::bufferSql()
    Writes data to the sql panel
c

c

checkReferer
in file PtcDebug.php, method PtcDebug::checkReferer()
    Checks if the debug "url_key" and "url_pass" are set on the 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()
    Manipulates html templates for all elements
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
deleteRow
in file PtcDb.php, method PtcDb::deleteRow()
    Delete row from given table
e

e

errorHandler
in file PtcDebug.php, method PtcDebug::errorHandler()
    Handles php errors
exceptionHandler
in file PtcDebug.php, method PtcDebug::exceptionHandler()
    Exception handler, catches exceptions that are not in a try/catch block
executeSql
in file PtcDb.php, method PtcDb::executeSql()
    Execute sql statement and return result
g

g

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

h

highlightFile
in file PtcDebug.php, method PtcDebug::highlightFile()
    File highlighter that opens a popup window inspect source code
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()
    Loads the debug interface and/or the console class if requested
log_msg
in file PtcDebug.php, function log_msg()
    Writes data to the messages panel
log_sql
in file PtcDebug.php, function log_sql()
    Writes data to the sql panel
m

m

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

p

processBuffer
in file PtcDebug.php, method PtcDebug::processBuffer()
    Processes the buffer to show the interface and/or the console messages
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
render
in file PtcForms.php, method PtcForms::render()
    Renders the form
s

s

setErrorHandler
in file PtcDebug.php, method PtcDebug::setErrorHandler()
    Sets the error handler to be the debug class. good for production with "$dieOnFatal" set to false
setInputStyle
in file PtcForms.php, method PtcForms::setInputStyle()
    Changes default input fields style
setLabelStyle
in file PtcForms.php, method PtcForms::setLabelStyle()
    Changes label containers default styles
sqlToArray
in file PtcDb.php, method PtcDb::sqlToArray()
    Execute any select statement
stopTimer
in file PtcDebug.php, method PtcDebug::stopTimer()
    Monitors the execution of php code, or sql queries based on a reference
stop_timer
in file PtcDebug.php, function stop_timer()
    Monitors the execution of php code, or sql queries based on a reference
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 "validate" parameter
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
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
w

w

watch
in file PtcDebug.php, method PtcDebug::watch()
    Watches a variable that is in a declare(ticks=n); code block, for changes
watchCallback
in file PtcDebug.php, method PtcDebug::watchCallback()
    Callback function that checks if a given variable has changed
watch_var
in file PtcDebug.php, function watch_var()
    Watches a variable that is in a declare(ticks=n){ code block }, for changes

Documentation generated on Fri, 30 Aug 2013 15:28:56 +0200 by phpDocumentor 1.4.3