[Data] element index

Package indexes

All elements
a c d e f h q _
_
top
Method __construct
Constructor. All it does is connect the data source.
Method __destruct
Data::__destruct() in Data.php
Destructor. Reversed constructors work (disconnects database).
a
top
Method arrayQuery
Data::arrayQuery() in Data.php
Convenience function. Querys database and fetches first row as array with one method call.
c
top
Method connect
Data::connect() in Data.php
Parameterless database connectivity. Access information is provided by the Config data.
d
top
Class Data
Data in Data.php
Method disconnect
Data::disconnect() in Data.php
Reversed connect(). Shuts down connection if it is still open.
Page Data.php
Data.php in Data.php
e
top
Method exec
Data::exec() in Data.php
Similar to query(), but does not set record counter. Use for manipulation queries (insert, delete, etc.). If record counter is needed for processing, use query().
f
top
Method fetchArray
Data::fetchArray() in Data.php
Fetches a single row from the currently selected result set or the supplied result set (if on is supplied) as an array. Uses both numeric and associative keys.
Method fetchAssoc
Data::fetchAssoc() in Data.php
Fetches a single row from the currently selected result set or the supplied result set (if on is supplied) as an array. Uses only associative keys.
Method fetchRow
Data::fetchRow() in Data.php
Fetches a single row from the currently selected result set or the supplied result set (if one is supplied).
h
top
Method hasMoreRows
Returns true if the counter has not yet reached zero (which happens when the last record has been retrieved). False otherwise.
q
top
Method query
Data::query() in Data.php
Querys the currently open database using supplied sql statement.
a c d e f h q _