Add error message to all messages and break the execution
boolean
breakExecution
(string $error_message)
-
string
$error_message: Reason why we are breaking execution
Prepare and process config form
boolean
execute
(void 0)
Execute multiple queries
This one is really quick and dirty because I want to finish this and catch the bus. Need to be redone ASAP
This function returns true if all queries are executed successfully
boolean
executeMultipleQueries
(string $sql, &$total_queries, &$executed_queries, integer $total_queries, integer $executed_queries)
-
string
$sql
-
integer
$total_queries: Total number of queries in SQL
-
integer
$executed_queries: Total number of successfully executed queries
-
&$total_queries
-
&$executed_queries
Get absolute_url
string
getAbsoluteUrl
(null 0)
Get database_host
string
getDatabaseHost
(null 0)
Get database_name
string
getDatabaseName
(null 0)
Get database_password
string
getDatabasePassword
(null 0)
Get database_type
string
getDatabaseType
(null 0)
Get database_username
string
getDatabaseUsername
(null 0)
Get table_prefix
string
getTablePrefix
(null 0)
This function will return true if server we are connected on has InnoDB support
boolean
haveInnoDbSupport
(void 0)
Print message through output object
null
printMessage
(string $message, [boolean $is_error = false])
-
string
$message
-
boolean
$is_error
Set absolute_url value
null
setAbsoluteUrl
(string $value)
Set database_host value
null
setDatabaseHost
(string $value)
Set database_name value
null
setDatabaseName
(string $value)
Set database_password value
null
setDatabasePassword
(string $value)
Set database_type value
null
setDatabaseType
(string $value)
Set database_username value
null
setDatabaseUsername
(string $value)
Set output value
null
setOutput
(
Output $value)
Set table_prefix value
null
setTablePrefix
(string $value)
Write $constants in config file
boolean
writeConfigFile
(array $constants)