myMVC_DatabaseConnectorGeneric 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 __construct (line 43)
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)
errno (line 59)
Wrapper for the errno-function of the selected database engine
error (line 69)
Wrapper for the error-function of the selected database engine
execute (line 117)
Execute an INSERT, UPDATE or DELETE query
executeSelect (line 128)
Executes a SELECT-Query
freeResult (line 172)
Free the allocated memory for the SQL query.
getDatabaseConnection (line 81)
Connects to the database.
This will just be done, if no connection exists yet.
getRowsNum (line 161)
Returns the number of row of the runned query.
getValueArrayFromResult (line 139)
Returns a record as associative array, or NULL if no record can be returned.
getValuesFromResult (line 150)
Returns a record as numeric array, or NULL if no record can be returned.
quoteSqlString (line 93)
Quotes a string to use in a SQL-Query
quoteSqlStringForLike (line 106)
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