mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
new methods added to PDO class.
This commit is contained in:
@@ -369,7 +369,37 @@
|
||||
public function columnCount();
|
||||
|
||||
|
||||
/**
|
||||
* Set the current database language
|
||||
* @param string $lang English, French etc.
|
||||
* @return null
|
||||
*/
|
||||
public function setLanguage($lang);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Get the current database language
|
||||
* @return string $lang English, French etc.
|
||||
*/
|
||||
public function getLanguage();
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Drop/delete table and all it's data
|
||||
* @param string $table name without the prefix
|
||||
* @return bool|int
|
||||
*/
|
||||
public function dropTable($table);
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns the last database query used.
|
||||
* @return string
|
||||
*/
|
||||
function getLastQuery();
|
||||
|
||||
}
|
Reference in New Issue
Block a user