Supa Enjin
- About
- Variables List
- Constants
- Functions [Sort Alphabetically]
- classEnjin - Checks whether your SQL is supported
- Connection Functions
- connect - Creates a connection
- close - Closed a connection
- select_db - Select a Database
- actionStart - Connects, selects a database and more.
- Error Functions
- emptyFunctionStack - Removes information from _objFunctionStack
- formatDebugBacktrace - Outputs a list from the output of the function debug_backtrace
- formatEnjinStatus - Outputs an error list of the current status of the Supa Enjin class.
- formatErrorBox - Outputs an error box
- formatFunctionStack - Outputs an error box of the _objFunctionstack
- formatSQLErrors - Tries to clarify SQL errors
- getErrorName - Return the error output
- getErrorNumber - Return the number of the error
- loadToFunctionStack - Adds function information to the _objFunctionStack
- outputDatabaseError - Outputs an error encounted by the database
- outputSpecialErrors - Ouputs a special kind of error only found within the enjin.
- Basic SQL Functions
- affected_rows - Get a number of affected rows from a query
- fetch_array - Fetch a result row in an array
- fetch_row - Fetch a result row in a array
- query - Send an SQL Query
- Query Handlers
- getQuery - Fetch a query to be readied for use.
- readyQuery - Return a ready query in a string
- SQL Query Functions
- alterTable - Run an ALTER TABLE query
- createTable - Run a CREATE TABLE query
- delete - Run a DELETE query
- describe - Run a DESCRIBE query
- dropTable - Run a DROP TABLE query
- insert - Run an INSERT query
- schema - Run a SCHEMA query
- select - Run a SELECT query
- truncateTable - Run TRUNCATE TABLE query
- update - Run an UPDATE query
- SQL Table Functions
- addTableColumn - Adds a column to a table
- changeTableColumn - Rename or modify a column within a table.
- fetchTable - Get table information from the database
- getTableColumns - Get the columns from a table
- isTable - Check that the table exists
- removeTableColumn - Remove a column from the table
- renameTable - Rename a table
- Extra SQL Functions
- countWhat - Count something from a table
- fetchDatabaseTables - Fetch all tables within a database
- fetchLastInsertID - Get the last inserted id
- fetchNextInsertID - Get the next auto_increment value for a table
- incAmount - Increment a column by a certain number
- insertArray - Insert an array into a table
- Helpful SQL Functions
- fetch - Run a select command and return all data!
- fetchFromQuery - Run a query and return it's output
- fetchSQLVersion - Get the version of the SQL Database currently running
- fetchWhat - Fetch a single value from a table
- Helpful Functions
- formatCleanString - Clean a string to input into the database
- formatQuery - Output a query if required to
- formatRevertString - Reverts a string (counter for formatCleanString())
- outputArray - Output a query so that its easily readable
- Internal Functions
- formatPrefix - Set the table prefix for a table name
- outputJavaCollapse - Create the Java Collapse Code
- outputJavaCollapseButton - Create a Java Collapse Button
- outputJavaCollapseStyle - Get the styles supported for the Java Collapse Code
page_revision: 58, last_edited: 1265204074|%e %b %Y, %H:%M %Z (%O ago)





