Generic database connector.
It should not be used directly! Classes, derived from this, will be called from myMVC_BaseDB and derived to manage data in the database.
Located in /myMVC/DatabaseConnector.php (line 29)
myMVC_TypeCheck | --myMVC_DatabaseConnector
Class | Description |
---|---|
myMVC_DatabaseConnectorPgsql | Database connector for PostgreSQL (http://www.postgresql.org/) |
myMVC_DatabaseConnectorMysql | Database connector for MySQL (http://www.mysql.com/) |
myMVC_BaseDB | Base class for a database table's class Every table must have a derived class with the check function Example: |
Constructor. Initializes the database connection
WARNING: This function will only called from myMVC_BaseDB constructor, using the proper derived class (see: myMVC_DatabaseConnectorMysql and myMVC_DatabaseConnectorPgsql)
Wrapper for the errno-function of the selected database engine
Wrapper for the error-function of the selected database engine
Execute an INSERT, UPDATE or DELETE query
Executes a SELECT-Query
Free the allocated memory for the SQL query.
Connects to the database.
This will just be done, if no connection exists yet.
Returns the number of row of the runned query.
Returns a record as associative array, or NULL if no record can be returned.
Returns a record as numeric array, or NULL if no record can be returned.
Quotes a string to use in a SQL-Query
Quotes a string to use in a SQL-Query (with LIKE)
Inherited From myMVC_TypeCheck
myMVC_TypeCheck::checkAutoIncrementalId()
myMVC_TypeCheck::checkBoolNotNull()
myMVC_TypeCheck::checkBoolNull()
myMVC_TypeCheck::checkDateNotNull()
myMVC_TypeCheck::checkDateNull()
myMVC_TypeCheck::checkDateTimeNotNull()
myMVC_TypeCheck::checkDateTimeNull()
myMVC_TypeCheck::checkDomainnameNotNull()
myMVC_TypeCheck::checkDomainnameNull()
myMVC_TypeCheck::checkEMailNotNull()
myMVC_TypeCheck::checkEMailNull()
myMVC_TypeCheck::checkIPNotNull()
myMVC_TypeCheck::checkIPNull()
myMVC_TypeCheck::checkMacNotNull()
myMVC_TypeCheck::checkMacNull()
myMVC_TypeCheck::checkMaskNotNull()
myMVC_TypeCheck::checkMaskNull()
myMVC_TypeCheck::checkNetworkNotNull()
myMVC_TypeCheck::checkNetworkNull()
myMVC_TypeCheck::checkSignedIntNotNull()
myMVC_TypeCheck::checkSignedIntNull()
myMVC_TypeCheck::checkSignedMediumIntNotNull()
myMVC_TypeCheck::checkSignedMediumIntNull()
myMVC_TypeCheck::checkSignedSmallIntNotNull()
myMVC_TypeCheck::checkSignedSmallIntNull()
myMVC_TypeCheck::checkSignedTinyIntNotNull()
myMVC_TypeCheck::checkSignedTinyIntNull()
myMVC_TypeCheck::checkString255NotNull()
myMVC_TypeCheck::checkString255Null()
myMVC_TypeCheck::checkTextNotNull()
myMVC_TypeCheck::checkTextNull()
myMVC_TypeCheck::checkTimeNotNull()
myMVC_TypeCheck::checkTimeNull()
myMVC_TypeCheck::checkUnsignedIntNotNull()
myMVC_TypeCheck::checkUnsignedIntNull()
myMVC_TypeCheck::checkUnsignedMediumIntNotNull()
myMVC_TypeCheck::checkUnsignedMediumIntNull()
myMVC_TypeCheck::checkUnsignedSmallIntNotNull()
myMVC_TypeCheck::checkUnsignedSmallIntNull()
myMVC_TypeCheck::checkUnsignedTinyIntNotNull()
myMVC_TypeCheck::checkUnsignedTinyIntNull()
myMVC_TypeCheck::checkURLNotNull()
myMVC_TypeCheck::checkURLNull()
Documentation generated on Thu, 05 Jan 2017 12:47:14 +0100 by phpDocumentor 1.4.4