-
Notifications
You must be signed in to change notification settings - Fork 0
CI_DB_cubrid_utility
Mathieu Nayrolles edited this page Jan 20, 2016
·
1 revision
CUBRID Utility Class
- Class name: CI_DB_cubrid_utility
- Namespace:
- Parent class: CI_DB_utility
protected object $db
Database object
- Visibility: protected
protected string $_list_databases = FALSE
List databases statement
- Visibility: protected
protected string $_optimize_table = FALSE
OPTIMIZE TABLE statement
- Visibility: protected
protected string $_repair_table = FALSE
REPAIR TABLE statement
- Visibility: protected
array CI_DB_utility::list_databases()
List databases
- Visibility: public
- This method is defined by CI_DB_utility
mixed CI_DB_cubrid_utility::_backup($params)
CUBRID Export
- Visibility: protected
- $params mixed
void CI_DB_utility::__construct($db)
Class constructor
- Visibility: public
- This method is defined by CI_DB_utility
- $db mixed
boolean CI_DB_utility::database_exists(string $database_name)
Determine if a particular database exists
- Visibility: public
- This method is defined by CI_DB_utility
- $database_name string
mixed CI_DB_utility::optimize_table(string $table_name)
Optimize Table
- Visibility: public
- This method is defined by CI_DB_utility
- $table_name string
mixed CI_DB_utility::optimize_database()
Optimize Database
- Visibility: public
- This method is defined by CI_DB_utility
mixed CI_DB_utility::repair_table(string $table_name)
Repair Table
- Visibility: public
- This method is defined by CI_DB_utility
- $table_name string
string CI_DB_utility::csv_from_result(object $query, string $delim, string $newline, string $enclosure)
Generate CSV from a query result object
- Visibility: public
- This method is defined by CI_DB_utility
- $query object - <p>Query result object</p>
- $delim string - <p>Delimiter (default: ,)</p>
- $newline string - <p>Newline character (default: \n)</p>
- $enclosure string - <p>Enclosure (default: ")</p>
string CI_DB_utility::xml_from_result(object $query, array $params)
Generate XML data from a query result object
- Visibility: public
- This method is defined by CI_DB_utility
- $query object - <p>Query result object</p>
- $params array - <p>Any preferences</p>
string CI_DB_utility::backup(array $params)
Database Backup
- Visibility: public
- This method is defined by CI_DB_utility
- $params array