print_nice()
print_nice(object $data)
Helps with debugging. Good to use for printing SmartDatabase objects or arrays containing SmartDatabase objects.
.. much cleaner than print_r()
Parameters
| object | $data | The data to print |
| DbManager | Handles the actual database communication. This DbManager is for MySQL. (Set $GLOBALS['SQL_DEBUG_MODE'] to true to print all SQL requests.) |
| DbManager_MySQL | Handles the actual database communication. This DbManager is for MySQL. (Set $GLOBALS['SQL_DEBUG_MODE'] to true to error_log() all SQL requests.) |
| ReadDb_MySQL | This class will read a database structure into the SmartDatabase. This structure can then be written to XML using the SmartDatabase::WriteXmlSchema() function |
| SmartCell | Where a row and a column meet. Holds the actual data. |
| SmartColumn | Columns contain all of the column properties and no user/db data. It's strictly structural. Data is contained in Cells |
| SmartDatabase | Manages a connection to the database and stores information about its table structure |
| SmartFormValidation_jQuery | Provides javascript form validation rules for jQuery's Validation Plugin |
| SmartRow | Manages a single row within a table of the database. |
| SmartTable | Tables contain table properties and Columns (which contain column properties). No user/db data is on a Table level. See Rows and Cells. |
| SyncDb_MySQL | This class will update a database to match a given db structure schema (described below) |