-
Notifications
You must be signed in to change notification settings - Fork 35
icms_db_legacy_mysql_Utility
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
Provide some utility methods for databases
- Class name: icms_db_legacy_mysql_Utility
- Namespace:
- This class implements: icms_db_IUtility
mixed icms_db_IUtility::__construct()
Creates a new utility object
- Visibility: public
- This method is defined by icms_db_IUtility
bool icms_db_legacy_mysql_Utility::splitMySqlFile(mixed ret, mixed sql)
Function from phpMyAdmin (http://phpwizard.net/projects/phpMyAdmin/)
Removes comment and splits large sql files into individual queries
Last revision: September 23, 2001 - gandon
- Visibility: public
- This method is static.
- ret mixed
- sql mixed
bool icms_db_IUtility::splitSqlFile(mixed ret, mixed sql)
Removes comment and splits large sql files into individual queries
- Visibility: public
- This method is static.
- This method is defined by icms_db_IUtility
- ret mixed
- sql mixed
mixed icms_db_IUtility::prefixQuery(string query, string prefix)
add a prefix.'_' to all tablenames in a query
- Visibility: public
- This method is static.
- This method is defined by icms_db_IUtility
- query string - <p>valid SQL query string</p>
- prefix string - <p>prefix to add to all table names</p>
bool icms_db_IUtility::checkSQL(string sql)
Determine if the SQL string is safe
- Visibility: public
- This method is static.
- This method is defined by icms_db_IUtility
- sql string